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(
54
54
object shutdownParams ,
55
55
RequestContext < InitializeResponseBody > requestContext )
56
56
{
57
- // Send the Initialized event first so that we get breakpoints
58
- await requestContext . SendEvent (
59
- InitializedEvent . Type ,
60
- null ) ;
61
-
62
57
// Now send the Initialize response to continue setup
63
58
await requestContext . SendResult (
64
- new InitializeResponseBody
65
- {
59
+ new InitializeResponseBody {
66
60
SupportsConfigurationDoneRequest = true ,
67
61
SupportsConditionalBreakpoints = true ,
68
62
SupportsFunctionBreakpoints = true
69
63
} ) ;
64
+
65
+ // Send the Initialized event so that we get breakpoints
66
+ await requestContext . SendEvent (
67
+ InitializedEvent . Type ,
68
+ null ) ;
70
69
}
71
70
}
72
71
}
73
-
You can’t perform that action at this time.
0 commit comments