NoRaincheck

Python Debugger and VSCode

Python Debugger and VSCode

March 2026

I find myself copy + pasting (or ChatGPT) the debugging configuration more often than I would like specifically for pytest so replicating it here.

 1{
 2  "configurations": [
 3    {
 4      "name": "$NAME",
 5      "type": "debugpy",
 6      "request": "launch",
 7      "module": "pytest",
 8      "args": ["tests/test_name_of_file.py::test_name_of_func"],
 9      "justMyCode": false
10    }
11  ]
12}

<< Previous Post

|

Next Post >>

🎲 Random post

|

All posts

#Python