Prevent Pycharm from switching tab focus on error

When I am running a Python script and get an error, the file where the error occurs opens and focus is shifted to that tab.

Often, this file is a part of a package, or other system-like file, and I do not need to see or edit it (sometimes I can't even edit them). 

I want to prevent Pycharm from switching tab focus on error. I have already tried disabling "Show debug window on breakpoint" etc. without any effect. 

Please sign in to leave a comment.