티스토리 뷰

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 해 버린다. 

그래도 원인을 찾았으니 다행 ....

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함