Reputation: 547
Is there a way to stop PyCharm from opening pydev files on syntax errors all the time?
If you write a simple one liner with a syntax error like below:
a = [ 1, 2,
where there closing bracket is missing, PyCharm will open the _pydev_execfile.py
file to break on exec line. Any way to stop this?
Upvotes: 1
Views: 201
Reputation: 7143
Open Breakpoints window Ctrl+Shift+F8 (or click on an icon with two small red dots in debugger window) and uncheck Suspend under Python Exception Breakpoint > Any exception.
Upvotes: 2