Skip to content

Commit

Permalink
Send InitializedEvent later to conform to spec, closes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed Mar 31, 2020
1 parent fd59003 commit 46a2e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ class Adapter extends DebugSession {

override function initializeRequest(response:InitializeResponse, args:InitializeRequestArguments) {
haxe.Log.trace = traceToOutput;
sendEvent(new vscode.debugAdapter.DebugSession.InitializedEvent());
response.body.supportsSetVariable = true;
response.body.supportsValueFormattingOptions = false;
response.body.supportsCompletionsRequest = true;
response.body.supportsConditionalBreakpoints = true;
sendResponse(response);
postLaunchActions = [];
sendEvent(new vscode.debugAdapter.DebugSession.InitializedEvent());
}

var connection:Connection;
Expand Down

0 comments on commit 46a2e76

Please sign in to comment.