diff --git a/src/HLAdapter.hx b/src/HLAdapter.hx index eb319e1..f86de87 100644 --- a/src/HLAdapter.hx +++ b/src/HLAdapter.hx @@ -1159,6 +1159,8 @@ class HLAdapter extends DebugSession { // Runtime communication with extension override function customRequest(command:String, response:vscode.debugAdapter.Messages.Response, args:Dynamic):Void { + // Value in response.body will be received by the extension in .then + var response : vscode.debugProtocol.DebugProtocol.Response = cast response; switch( command ) { case OnSessionActive: isSessionActive = true; @@ -1166,6 +1168,7 @@ class HLAdapter extends DebugSession { isSessionActive = false; default: } + sendResponse(cast response); } // Standalone adapter.js