You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Null entry in launch.json configurations array crashes extension host and breaks GitHub authentication #307691
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code Insiderstriage-neededverifiedVerification succeeded
There's a literal null sitting in the configurations array. VS Code iterates over that array, tries to read .name from each entry, hits null, and blows up with exactly the error I've been seeing: Cannot read properties of null (reading 'name').
That crash in the extension host cascades and takes down the GitHub authentication provider with it, which is why it looked like an auth problem but was actually a workspace config issue torpedoing the entire extension host process on startup.
I've raised that on their repo - but - it feels like vscode could be a little more robust here perhaps? VS Code should skip or warn about invalid entries in the configurations array, not crash the chat window?
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code Insiderstriage-neededverifiedVerification succeeded
Activity
Fix crash on null entries in launch.json configurations array (micros…
roblourens commentedon Apr 14, 2026
That's an interesting crash 😅 thanks for the PR! I may beef it up even more after that
Fix crash on null entries in launch.json configurations array (#308235)