Alex Rothberg
Alex Rothberg

Reputation: 10993

Showing Full Call Stack when Python Debugging in VSCode

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:

enter image description here

Upvotes: 5

Views: 6163

Answers (1)

Alex Rothberg
Alex Rothberg

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

Related Questions