-4

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.

1
  • 1
    Please provide enough code so others can better understand or reproduce the problem. Commented Nov 4 at 20:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.