You can debug flask apps by running the app launcher in debug mode and placing debug points wherever you want.

As you use the app on the browser vscode will stop when it reaches a debug point.

For example see sovabids/sovabids/front/app/app.py in my github