What happened?
When launching Qwen Code v0.19.8 with --debug (or -d), the CLI correctly recognizes the flag and prints:
Debug mode enabled
Logging to: ~/.qwen/debug/<session-id>.txt
However, the debug log file is never actually created on disk. The latest symlink in ~/.qwen/debug/ also remains pointing at an old file.
Verified with:
ls -la ~/.qwen/debug/<session-id>.txt
# No such file or directory
The last successful debug file in ~/.qwen/debug/ is from June 15, 2026. All sessions since then (including today's) fail to produce any debug output file.
What did you expect to happen?
A .txt debug log file should be created at the printed path, containing [DEBUG], [INFO], etc. log entries — as was the behavior in earlier versions (verified by examining existing files from June 15 and earlier).
Client information
Client Information
Qwen Code v0.19.8
Model: (OpenAI-compatible API)
Auth: openai
Platform: darwin arm64 (24.6.0)
Node.js: v24.3.0
Git commit: 34b1a8324
LSP: disabled
Login information
OpenAI-compatible API key.
Anything else we need to know?
- The session ID in the printed path matches the actual running session, confirming path computation works correctly — the bug is in the file-writing step, not path resolution.
- The
latest symlink is also not updated (still points to the June 15 file).
What happened?
When launching Qwen Code v0.19.8 with
--debug(or-d), the CLI correctly recognizes the flag and prints:However, the debug log file is never actually created on disk. The
latestsymlink in~/.qwen/debug/also remains pointing at an old file.Verified with:
The last successful debug file in
~/.qwen/debug/is from June 15, 2026. All sessions since then (including today's) fail to produce any debug output file.What did you expect to happen?
A
.txtdebug log file should be created at the printed path, containing[DEBUG],[INFO], etc. log entries — as was the behavior in earlier versions (verified by examining existing files from June 15 and earlier).Client information
Client Information
Login information
OpenAI-compatible API key.
Anything else we need to know?
latestsymlink is also not updated (still points to the June 15 file).