What
When a request to the cloud service fails, the error you see is now built more carefully:
- Unsafe text is hidden: a server message that is too long or contains unusual characters or spacing is no longer shown. The message says to run again with
--debugto see it. Session ids in error text that look malformed appear as[not shown]. Before, the raw server message was shown. - One shared way of reading errors: a failed move of a session to the cloud now takes its error text from a shared extractor, and the generic response-error formatter uses the same one. A generic "The request was invalid." message is ignored in favour of the fallback text, which still says to run with
--debugto see the raw response.
--debug starts Claude Code in debug mode, which shows extra detail.
Why
Odd or overlong text from a server can no longer mess up your terminal display, and errors read the same way across cloud features. If a message is hidden, --debug is where to find the full text.
Names in the bundle--debug
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 Customize your status line.
Until then, `claude --debug` logs `Status line command skipped: workspace trust not accepted`. Restart Claude Code and accept the trust dialog to enable it.statusline see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up --debug, on Customize your status line.