6

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

1 Answer 1

8

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.