File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/client/debugger/DebugClients Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class LocalDebugClient extends DebugClient {
6666 return new Promise < any > ( ( resolve , reject ) => {
6767 let fileDir = path . dirname ( this . args . program ) ;
6868 let processCwd = fileDir ;
69- if ( typeof this . args . cwd === 'string' && this . args . cwd . length > 0 ) {
69+ if ( typeof this . args . cwd === 'string' && this . args . cwd . length > 0 && this . args . cwd !== 'null' ) {
7070 processCwd = this . args . cwd ;
7171 }
7272 let pythonPath = 'python' ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class NonDebugClient extends DebugClient {
4242 return new Promise < any > ( ( resolve , reject ) => {
4343 let fileDir = path . dirname ( this . args . program ) ;
4444 let processCwd = fileDir ;
45- if ( typeof this . args . cwd === "string" && this . args . cwd . length > 0 ) {
45+ if ( typeof this . args . cwd === "string" && this . args . cwd . length > 0 && this . args . cwd !== 'null' ) {
4646 processCwd = this . args . cwd ;
4747 }
4848 let pythonPath = "python" ;
You can’t perform that action at this time.
0 commit comments