Skip to content

Commit eab19c4

Browse files
committed
fixed setting of current working directory for python (cwd)
1 parent aaac9cc commit eab19c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/debugger/DebugClients/LocalDebugClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class LocalDebugClient extends DebugClient {
160160
}).then((ptVSToolsFilePath) => {
161161
var launcherArgs = this.buildLauncherArguments();
162162

163-
var args = [ptVSToolsFilePath, fileDir, dbgServer.port.toString(), "34806ad9-833a-4524-8cd6-18ca4aa74f14"].concat(launcherArgs);
163+
var args = [ptVSToolsFilePath, processCwd, dbgServer.port.toString(), "34806ad9-833a-4524-8cd6-18ca4aa74f14"].concat(launcherArgs);
164164
if (this.args.externalConsole === true) {
165165
open({ wait: false, app: [pythonPath].concat(args), cwd: processCwd, env: environmentVariables }).then(proc=> {
166166
this.pyProc = proc;

0 commit comments

Comments
 (0)