File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 115115 "host" : " localhost" ,
116116 "sourceFolder" : " ${workspaceFolder}" ,
117117 "program" : " ${workspaceFolder}/pocketpy/main.exe" ,
118- "args" : [" --debug" ]
118+ "args" : [" --debug" ],
119+ "cwd" : " ${workspaceFolder}"
119120 }
120121 ]
121122 }
Original file line number Diff line number Diff line change 2020 "host" : " localhost" ,
2121 "sourceFolder" : " ${workspaceFolder}" ,
2222 "program" : " E:/pocketpy/main.exe" ,
23- "args" : [" --debug" , " test_script2.py" ]
23+ "args" : [" --debug" , " test_script2.py" ],
24+ "cwd" : " ${workspaceFolder}"
2425 }
2526 ]
2627}
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class PythonDebugAdapterDescriptorFactory implements vscode.DebugAdapterDescript
8585 const args = config . args ;
8686 const terminal = vscode . window . createTerminal ( {
8787 name : 'pocketpy' ,
88- cwd : sourceFolder
88+ cwd : config . cwd
8989 } ) ;
9090 terminal . sendText ( `${ program } ${ args . join ( ' ' ) } ` ) ;
9191 terminal . show ( ) ;
You can’t perform that action at this time.
0 commit comments