File tree 3 files changed +16
-17
lines changed
3 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 16
16
],
17
17
"preLaunchTask" : " Build"
18
18
},
19
- {
20
- "name" : " Launch Extension (Build client only)" ,
21
- "type" : " extensionHost" ,
22
- "request" : " launch" ,
23
- "runtimeExecutable" : " ${execPath}" ,
24
- "args" : [
25
- " --extensionDevelopmentPath=${workspaceFolder}"
26
- ],
27
- "stopOnEntry" : false ,
28
- "sourceMaps" : true ,
29
- "outFiles" : [
30
- " ${workspaceFolder}/out/src/**/*.js"
31
- ],
32
- "preLaunchTask" : " Build"
33
- },
34
19
{
35
20
"name" : " Launch Extension Tests" ,
36
21
"type" : " extensionHost" ,
Original file line number Diff line number Diff line change 40
40
"label" : " Restore" ,
41
41
"type" : " shell" ,
42
42
"command" : " Invoke-Build Restore" ,
43
+ "problemMatcher" : []
43
44
},
44
45
{
45
46
"label" : " Clean" ,
46
47
"type" : " shell" ,
47
48
"command" : " Invoke-Build Clean" ,
49
+ "problemMatcher" : []
48
50
},
49
51
{
50
52
"label" : " Build" ,
51
53
"type" : " shell" ,
52
54
"command" : " Invoke-Build Build" ,
53
- "group" : " build" ,
55
+ "problemMatcher" : [],
56
+ "group" : " build"
54
57
},
55
58
{
56
59
"label" : " Test" ,
57
60
"type" : " shell" ,
58
61
"command" : " Invoke-Build Test" ,
59
- "group" : " test" ,
62
+ "problemMatcher" : [],
63
+ "group" : " test"
60
64
},
61
65
{
62
66
"label" : " Package" ,
63
67
"type" : " shell" ,
64
68
"command" : " Invoke-Build Package" ,
69
+ "problemMatcher" : [],
65
70
"group" : " build"
66
71
}
67
72
]
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ import { LanguageClientConsumer } from "../languageClientConsumer";
18
18
export const StartDebuggerNotificationType =
19
19
new NotificationType < void > ( "powerShell/startDebugger" ) ;
20
20
21
+ export const StopDebuggerNotificationType =
22
+ new NotificationType < void > ( "powerShell/stopDebugger" ) ;
23
+
21
24
export class DebugSessionFeature extends LanguageClientConsumer
22
25
implements DebugConfigurationProvider , vscode . DebugAdapterDescriptorFactory {
23
26
@@ -61,6 +64,12 @@ export class DebugSessionFeature extends LanguageClientConsumer
61
64
type : "PowerShell" ,
62
65
name : "PowerShell Interactive Session" ,
63
66
} ) ) ;
67
+
68
+ languageClient . onNotification (
69
+ StopDebuggerNotificationType ,
70
+ ( ) =>
71
+ vscode . debug . stopDebugging ( undefined )
72
+ ) ;
64
73
}
65
74
66
75
public async provideDebugConfigurations (
You can’t perform that action at this time.
0 commit comments