File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 0.2.0" ,
4
4
"configurations" : [
5
5
{
6
- "type" : " pwa- extensionHost" ,
6
+ "type" : " extensionHost" ,
7
7
"request" : " launch" ,
8
8
"name" : " Launch Client" ,
9
9
"runtimeExecutable" : " ${execPath}" ,
17
17
"request" : " attach" ,
18
18
"name" : " Attach to Server" ,
19
19
"address" : " localhost" ,
20
- "protocol" : " inspector" ,
21
20
"port" : 6011 ,
22
21
"sourceMaps" : true ,
23
22
"outFiles" : [" ${workspaceFolder}/server/out/**/*.js" ]
Original file line number Diff line number Diff line change @@ -142,7 +142,13 @@ function realActivate(context: ExtensionContext): void {
142
142
} )
143
143
) ;
144
144
145
- client . start ( ) . catch ( ( error ) => client . error ( `Starting the server failed.` , error , 'force' ) ) ;
145
+ client . start ( ) . catch ( ( error ) => {
146
+ client . error ( `Starting the server failed.` , error , 'force' ) ;
147
+ const message = typeof error === 'string' ? error : typeof error . message === 'string' ? error . message : undefined ;
148
+ if ( message !== undefined && message . indexOf ( 'ENOENT' ) !== - 1 ) {
149
+ client . info ( `PATH environment variable is: ${ process . env [ 'PATH' ] } ` ) ;
150
+ }
151
+ } ) ;
146
152
}
147
153
148
154
export function deactivate ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments