Skip to content
Docs Menu
Documentation

CLI Debug

Debugging utilities under packages/nikcli/src/cli/cmd/debug.

Debug Commands

debug config Print resolved configuration.
debug scrap List known projects (Project.list()).
debug skill List skills discovered by the runtime.
debug agent <name> Inspect agent config and resolved tool access.
debug paths Print global path locations.
debug wait Sleep indefinitely (diagnostic).

LSP Debug

debug lsp diagnostics <file> Fetch diagnostics via LSP.
debug lsp symbols <query> Search workspace symbols.
debug lsp document-symbols <uri> Document symbol listing.

File + RG

debug file read <path> Read file as JSON payload.
debug file status Show file status information.
debug file list <path> List directory contents.
debug file tree [dir] Tree listing via ripgrep.
debug rg search <pattern> Run ripgrep search.
debug rg files List files via ripgrep.
debug rg tree Print ripgrep tree view.

Snapshots

debug snapshot track Track current snapshot state.
debug snapshot patch <hash> View patch for snapshot hash.
debug snapshot diff <hash> View diff for snapshot hash.