{"version":"2.1.333","anchor":"misread-debug-value-now-stops-launch-with-a-hint","canonical_anchor":"misread-debug-value-now-stops-launch-with-a-hint","heading":"Claude Code stops if --debug swallows a command name by mistake","tier":"use","area":"CLI","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/misread-debug-value-now-stops-launch-with-a-hint","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Claude Code stops if `--debug` swallows a command name by mistake\n\nIf `--debug` or `-d` takes a word like a subcommand as its filter, Claude Code now stops and says to write `--debug=` instead\n\n**Unclear.** Whether the `--debug` check itself is on by default or depends on a remote switch.\n\n**What**\n\n`--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>`.\n\nTwo related messages also appear:\n\n- 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.\n\n- When Claude Code is started with input piped into it, a slash command can be reported as not available in this launch.\n\n**Why**\n\nTyping 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.\n\n- Area: CLI\n- Names: `--debug`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}