redirect input on debug #1182
Unanswered
axiqia
asked this question in
Enhancements
Replies: 1 comment
-
This didn't work, because stuff like For it to work properly, we'd need to support it specifically. But for us to support redirection, the "runInTerminal" request in VSCode would need to support it first, since we rely on that to spawn the debuggee. I'm going to leave this open as an enhancement, so that we can gauge interest in this feature from the votes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd love to have something like this http://stackoverflow.com/questions/32863807/visual-studio-code-redirect-input-on-debug without a workaround. That is, ability to redirect input from a given file, when debugging.
I have tried to add arg option in launch.json,
but the launch command doesn't work as usual. The terminal hangs and after I type enter, I got a exception.
The python script:
The input.txt content:
5
Is there any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions