-
I want to code a standalone debugger. I was testing DAP for this. I wrote DAP client APIs. but when I try to debug through my implementation debugpy just start the debugging and ends the connection before I could make any intialization, breakpoints or start debugging request. I thought it would only start debugging when launch or attach request is sent to debugpy. I am not sure how can I make it work. I tried to look for any quick start guide with DAP. Can anybody help me with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This is the wiki we have on the topic: https://github.com/microsoft/debugpy/wiki/DAP-Client-reference, not sure if it helps. Debugpy will start an adapter process as soon as you launch it, but it should sit there waiting for stdin/stdout. How are you starting debugpy? |
Beta Was this translation helpful? Give feedback.
You should probably turn on logging. That would list out a lot more of what debugpy is doing.
--log-to-stderr
should help.