본문 바로가기

카테고리 없음

vscode debug mode current work directory

Go to launch.json

add "cwd" : "${fileDirname}"

check with os.getcwd()

current directory should be the folder that current activated file is in (not root directory of current vscode folder)