Closed
Description
Refs: #137
- macOS @sandy081
- linux @roblourens
- windows @minsa110
Complexity: 3
Prerequisites:
- Install the debugpy extension.
- Install Python
Part 1: Test Debug Python File
- Open a python file that you want to debug.
- On the top right you will see a play button with an arrow, click the arrow and then click:
Python Debugger: Debug Python File
- You can add breakpoints and make sure that the debug works properly.
Part 2: Test Debug Python File with launch.json(no config set)
- Open a python file that you want to debug. (Make sure that you don't have a launch.json config already set)
- On the top right you will see a play button with an arrow, click the arrow and then click:
Python Debugger: Debug using launch.json
- Make sure a prompt is displayed to create a launch.json. Follow the steps.
- Make sure that a launch.json is created and the debugger runs properly.
Part 3: Test Debug Python File with launch.json (config already set)
- Open a python file that you want to debug. (Make sure that you have a launch.json config already set)
- On the top right you will see a play button with an arrow, click the arrow and then click:
Python Debugger: Debug using launch.json
- Make sure a prompt is displayed that shows all the configurations that you already have. Choose the one that you want to run.
- Make sure that the debugger runs properly.