Reputation: 10993
I am using the Python debugger in VSCode to debug a Flask application. I have set a breakpoint. When I inspect the call stack, however, I see only my code rather than the full stack (which should include Flask, Werkzeug, etc). How to I configure / see the full call stack rather than just of the app?
@app.route('/')
def index():
return '' # breakpoint
yields:
Upvotes: 5
Views: 6163
Reputation: 10993
Per Visual Studio Code - Python debugging - Step into the code of external functions when executing, you need to add "justMyCode": false
to your launch config.
Upvotes: 7