microsoft/vscode-debugadapter-node

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

czlc opened this issue · 3 comments

czlc commented

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.

Are you implementing a debugger extension for Lua?

czlc commented

yes, i am doing this work now.

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