VS Code 로 python 디버깅할 때, import한 모듈에 breakpoint 찍어 놓고 디버깅하고 싶은데, breakpoint가 찍히지 않으면,
launch.json 파일에
justMyCode: false
라고 설정해주면 된다.
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Python Functions",
"type": "python",
"request": "attach",
"port": 9091,
"preLaunchTask": "func: host start",
"justMyCode": false
}
]
}
이런 형태로 configurations 안에 넣어주면 된다.
https://code.visualstudio.com/docs/python/debugging#_justmycode