[Bug] Claude Code initializes in debug mode by default

Resolved 💬 2 comments Opened Feb 24, 2026 by sanchitv7 Closed Mar 25, 2026

Bug Description
Claude is always booting up in debug mode for some reason

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.52
  • Feedback ID: 456f6311-6180-4901-8877-d924502311e1

Errors

[{"error":"Error: ENOENT: no such file or directory, open '/Library/Application Support/ClaudeCode/managed-settings.json'\n    at openSync (unknown)\n    at readSync (/$bunfs/root/claude:12:1441)\n    at F2 (/$bunfs/root/claude:6412:113)\n    at AO (/$bunfs/root/claude:6414:226)\n    at GP8 (/$bunfs/root/claude:6398:5806)\n    at s90 (/$bunfs/root/claude:6398:5579)\n    at <anonymous> (/$bunfs/root/claude:6398:4272)\n    at async a90 (/$bunfs/root/claude:6398:4654)\n    at async <anonymous> (/$bunfs/root/claude:11966:400)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-24T20:33:53.773Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: Executable not found in $PATH: \"pyright-langserver\"\n    at start (/$bunfs/root/claude:2527:22314)\n    at async H (/$bunfs/root/claude:2527:24624)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-24T20:33:55.401Z"},{"error":"Error: Executable not found in $PATH: \"pyright-langserver\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:2527:20844)\n    at H (/$bunfs/root/claude:2527:24624)\n    at _ (/$bunfs/root/claude:2527:32726)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-24T20:33:55.401Z"},{"error":"Error: Failed to start LSP server plugin:pyright-lsp:pyright: Executable not found in $PATH: \"pyright-langserver\"\n    at <anonymous> (/$bunfs/root/claude:2527:32748)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-24T20:33:55.401Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗