How to pass stdin? #430
Answered
by
mfussenegger
ByteDrummer
asked this question in
Q&A
-
I've been trying to figure out how to debug a program that reads from stdin. Can I modify the adapter configuration to specify stdin or pass stdin from a different terminal? |
Beta Was this translation helpful? Give feedback.
Answered by
mfussenegger
Feb 9, 2022
Replies: 1 comment 2 replies
-
Depends on the debug adapter. Some support starting an application in a terminal and wait for the debugger to attach. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ByteDrummer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depends on the debug adapter. Some support starting an application in a terminal and wait for the debugger to attach.
There is no standardized way. See also microsoft/debug-adapter-protocol#216