You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go to Run and debug, then Create a launch.json file
Select Debugpy > Python File
Make sure the configuration has been created correctly, that is, that the type is debugpy, the name.
Run the configuration, add breakpoint, change interpreters, play around with the debug a bit, to make sure everything is correct.
Part 2: Debug with other launch configurations
If you have a project in python you can try the other launch configurations. For example with Django, FastApi or Flask. Otherwise you can follow the steps here to create a simple fastApi application.
Click on the Add configuration button in the launch.json, select dubugpy > FastApi.
Make sure the configuration has been created correctly, that is, that the type is debugpy, the name.
Run the configuration, add breakpoint, change interpreters, play around with the debug a bit, to make sure everything is correct.
The text was updated successfully, but these errors were encountered:
Refs: microsoft/vscode-python#19503
Complexity: 3
Author: @paulacamargo25
Prerequisites:
debugpy
extension.Part 1: Debugging python file
Run and debug
, thenCreate a launch.json file
debugpy
, the name.Part 2: Debug with other launch configurations
Add configuration
button in the launch.json, select dubugpy > FastApi.debugpy
, the name.The text was updated successfully, but these errors were encountered: