Skip to content

TPI: Test Debug Python File in Editor Menu #141

Closed
@paulacamargo25

Description

@paulacamargo25

Refs: #137

Complexity: 3

Create Issue


Prerequisites:

  • Install the debugpy extension.
  • Install Python

Part 1: Test Debug Python File

  1. Open a python file that you want to debug.
  2. On the top right you will see a play button with an arrow, click the arrow and then click: Python Debugger: Debug Python File
  3. You can add breakpoints and make sure that the debug works properly.

Part 2: Test Debug Python File with launch.json(no config set)

  1. Open a python file that you want to debug. (Make sure that you don't have a launch.json config already set)
  2. 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
  3. Make sure a prompt is displayed to create a launch.json. Follow the steps.
  4. 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)

  1. Open a python file that you want to debug. (Make sure that you have a launch.json config already set)
  2. 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
  3. Make sure a prompt is displayed that shows all the configurations that you already have. Choose the one that you want to run.
  4. Make sure that the debugger runs properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions