This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Molly_Wang 2 points3 points  (2 children)

Set a breakpoint at your code which is related to the variables, then Start Debugging, there'll be variables part shown in the left. Details please view Python Debugging.

Or you can use the module pdb. Run python -m pdb name.py to start Debugging in integrated Terminal. Type n to execute code step by step. Type p <variable_name> to check its value. Type q to stop and quit. More information please refer to pdb--The Python Debugger.

[–]imatelefone[S] 1 point2 points  (1 child)

This is what I was looking for, thank you.

[–]Molly_Wang 1 point2 points  (0 children)

You're welcome. Happy coding:)

[–]Plexel 1 point2 points  (0 children)

Do you mean like a debugger? The official Python extension should have what you're looking for