If I encounter an error while using the python debugger, the error shows up in a red box below the errored line:

However, I noticed this doesn't show the full stack trace that I'd see if I just run the file regularly (e.g., in this case, the error is not actually occurring at the top of the stack trace shown). Is there a way to configure this?
Edit:
I am debugging using the "Debug Python File", which is a feature of the python extension.
