File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/PowerShellEditorServices.Protocol/Server Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -54,20 +54,18 @@ private async Task HandleInitializeRequest(
5454 object shutdownParams ,
5555 RequestContext < InitializeResponseBody > requestContext )
5656 {
57- // Send the Initialized event first so that we get breakpoints
58- await requestContext . SendEvent (
59- InitializedEvent . Type ,
60- null ) ;
61-
6257 // Now send the Initialize response to continue setup
6358 await requestContext . SendResult (
64- new InitializeResponseBody
65- {
59+ new InitializeResponseBody {
6660 SupportsConfigurationDoneRequest = true ,
6761 SupportsConditionalBreakpoints = true ,
6862 SupportsFunctionBreakpoints = true
6963 } ) ;
64+
65+ // Send the Initialized event so that we get breakpoints
66+ await requestContext . SendEvent (
67+ InitializedEvent . Type ,
68+ null ) ;
7069 }
7170 }
7271}
73-
You can’t perform that action at this time.
0 commit comments