microsoft / vscode-debugadapter-node

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

Custom events are missing their session property in the test DebugClient #210

Open DanTup opened 5 years ago

DanTup commented 5 years ago

Currently in the test debug client, if you listen for a custom event like this:

this.on("dart.serviceExtensionAdded", (e: DebugSessionCustomEvent) => console.log(e.session));

session doesn't seem to be defined. I did have a look, but I'm not really sure how to fix this.