Reputation: 53
How can I set a conditional breakpoint in VSCode Python, then step back n lines to see how that condition was met?
Upvotes: 0
Views: 802
Reputation: 2133
You probably need something like PyTrace. It allows you to debug and replay/rewind the state of the interpreter to see how you got to your breakpoint. https://pytrace.com/
Upvotes: 3