Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 723 Bytes

DEBUG.md

File metadata and controls

18 lines (16 loc) · 723 Bytes

How to debug

  1. Use your IDE (vscode is a good choice), and run integrated terminal from root directory of project, where link files exist. If running vscode, a configuration like below can help to debug a target command
    "configurations": [
        {
            "name": "i",
            "type": "debugpy",
            "request": "launch",
            "program": "${workspaceFolder}/python/run.py",
            "console": "integratedTerminal",
            "args": "o note my_fav_food"
        }
    ]
  1. Instead of running command in run panel, try to run it in a terminal at root of this project. This way your terminal is not going to be closed if case of exceptions, and you can investigate the problem.