"Cannot set property activeDebugSession of #<Object> which has only a getter" when trying to change active debug session #215988
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
Milestone
vs.debug.activeDebugSession
is marked as mutable in the definition:vscode/src/vscode-dts/vscode.d.ts
Line 16259 in be0e535
But trying to set it results in the following runtime exception:
I'm trying to improve the UI for launching some additional tooling and it allows the user to select a debug session to launch the tool far. To improve the experience, I'd like to allow the user to use a "selected" debug session but I don't want a different selection to VS Code - I'd like to sync changes made in either place into a single selected debug session.
I also looked for a command, but I only found
workbench.action.debug.selectDebugSession
which seems to just show a pick-list and not allow us to provide a session explicitly.The text was updated successfully, but these errors were encountered: