So I'm building a vscode extension, I have a vscode command that the extension utilizes to run debugging commands (for python's debugpy) that same way as you'd do in the Debug Console, I can't seem to figure out how to simply inject the code directly into the Debug Console, the evaluate function the session provides doesn't recognize variables in the scope the same way a command in Debug Console does, I managed to copy the command I want to inject, focus the Debug Console for the user and then the user needs to press Ctrl+V to paste and run but I'd like a better option.
-
1Please provide enough code so others can better understand or reproduce the problem.Community– Community Bot2025-11-04 20:02:13 +00:00Commented Nov 4 at 20:02
Add a comment
|