microsoft / vscode-debugadapter-node

Debug adapter protocol and implementation for VS Code.
Other
271 stars 77 forks source link

_sequence not initialized in inline debugger #291

Closed FractalBoy closed 1 year ago

FractalBoy commented 1 year ago

_sequence in protocol.ts is only initialized in the start method, which appears to never be called by inline debuggers. As a result, responses to reverse requests are never received and all reverse requests time out, even when successful.

To work around this, I put this in my implementation of DebugSession:

this['_sequence'] = 1;