microsoft / vscode-debugadapter-node

Debug adapter protocol and implementation for VS Code.
Other
273 stars 79 forks source link

how can i debug multi "process" on one system process #141

Closed czlc closed 3 years ago

czlc commented 6 years ago

i have a normal server process base on Lua, it has multi Lua VM objects, each VM object like a "process", because the object have some coroutine like "thread"s, each coroutine have self call stack.

how can i use vscode and debug protocol to adapter this situation, Multi-target debugging?

thanks.

weinand commented 6 years ago

Are you implementing a debugger extension for Lua?

czlc commented 6 years ago

yes, i am doing this work now.

weinand commented 3 years ago

Since debugging multiple processes is outside of the debug adapter protocol, we recommend to use multiple debug sessions for this.