VSCode Debugging을 위한 launch.json 설정
VScode를 이용하여 Debugging을 위하여 argparse와 별도의 parameters를 입력으로 받을 수 없는 VScode를 위하여 아래와 같이 설계하면 Debugging이 가능하다. 아래와 같이 launch.json 파일을 만들어 주면 끝! { "version": "0.2.0", "configurations": [ { "name": "Debug test.py", //파일 이름 "type": "python", //Script type "request": "launch", // "module": "torch.distributed.launch", //-m torch.distributed.launch "program": "${workspaceFolder}/tools/test.py", //실행하고자 하..
Etc.
2023. 5. 11. 21:26