Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Claude Code stops if --debug swallows a command name by mistake

If --debug or -d takes a word like a subcommand as its filter, Claude Code now stops and says to write --debug=<value> instead

Use it now Improvements
JSON All of v2.1.333
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CLIArea: what it touches
ImprovementsKind: in v2.1.333,
What probably matters to youSection of the release

Unclear Whether the --debug check itself is on by default or depends on a remote switch.

What

--debug (or -d) starts Claude Code in debug mode, and can take a filter. The filter only applies in the = form, such as --debug='mcp,startup'. Claude Code now checks at launch for a word, such as a subcommand name, that was read as the --debug filter by mistake. When that happens it stops with exit code 1 and says that if you trust this folder and meant a debug filter, you should write --debug=<value>.

Two related messages also appear:

  • When there is a problem with an option that lists tools, Claude Code says it stopped before granting tools. This message is on unless it is switched off remotely.
  • When Claude Code is started with input piped into it, a slash command can be reported as not available in this launch.
Why

Typing something like claude --debug mcp list could otherwise start a full session in the current folder, running its hooks and settings even if you do not trust it. Stopping first prevents that.

Read from
Names in the bundle--debug
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --debug, on Error reference. * In your shell, run `claude --desktop --debug-file <path>` errors see the edit
Added since A small documentation edit on CLI reference touched a line naming --debug after this was published. | `--desktop` | Open the [Claude Desktop app](https://code.claude.com/docs/en/desktop.md) on the current directory and exit without starting a session in the terminal. Add `--continue`, or `--resume` with a session ID, to [open that sessio… cli-reference see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether the `--debug` check itself is on by default or depends on a remote switch.
Anthropic's documentation agreesA small documentation edit on CLI reference touched a line naming --debug after this was published.

See this entry in the whole of v2.1.333 →

Feedback