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.
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 sinceAnthropic's documentation has since written up --debug, on Error reference.* In your shell, run `claude --desktop --debug-file <path>`errorssee the edit
Added sinceA 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-referencesee 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.