How to read the terminal output of the adapter in attach request? #1502
Unanswered
LumenYoung
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm newly investigating nvim-dap and find that I don't have access to the debug adapter's output when I'm using attach request. What I want is the normal output stdin/out in original scripts execution (in my case I'm using python). Since my script is wrapped around the external command (not directly in python) I can't use the launch request.
I tried to inspect the output from
DapShowLog()
yet it doesn't really print anything which confuses me and leads me to turn to your help. I also checked the dap-python implementation and there is also no explicit log handling inside it to serve as an example for my custom adapter.What is even more confusing is when the Dap encounters an error it will show something yet in the case of successful execution there is no output in the dap.stdout and dap.stderr or dap.log. How can I get that information?
Bests,
Lumen
Beta Was this translation helpful? Give feedback.
All reactions