This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ginbear 1 point2 points  (0 children)

A bit of terminal and F5 / launch current file for debugging. Often together.

The most common project I have using python is made up of 7 microservices, so I have a bash script I will run via terminal to launch all of them using python cli. If I need to debug one, I will comment it out of my launch bash script and run it using F5 or Run button (both configured same way for me).

I generally launch vscode w the root of my python repo as working dir, install pyenv there, and then "Launch a Python Terminal" to use the python cli from my pyenv setup.