C++ Language/C++
[VS Code] Python launch.json
OManager
2018. 4. 24. 11:33
Visual Studio Code 에서 Python launch.json
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"cwd": "${workspaceFolder}",
"env": {},
"envFile": "${workspaceFolder}/.env",
"debugOptions": [
"RedirectOutput"
]
},
디버깅만 하면 오류가 발생했다.
"stopOnEntry": true 일 경우 Program Start Point에서 Stop
"stopOnEntry": false 일 경우 Debug Point 에서 Stop
그런데 true 로 되어있으면 내가 생각한 것과 다른 부분에서 Debug 가 Stop 해 버린다.
그래도 원인을 찾았으니 다행 ....