Launch Pycharm 3.4.1.
A breakpoint with a lightning through it appears on exceptions in the code. You can control this behavior, as well as the breakpoints that you set by selecting:
(1) On the main menu, choose Run|View Breakpoints. (2) Press Ctrl+Shift+F8. (3) In the toolbar of the Debug tool window, click the two overlapped red circles.
The pop-up screen will look something like this:
[x] Python Exception Breakpoint [x] All exceptions [ ] Django Exception Breakpoint [ ] Template render error [x] JavaScript Exception Breakpoints [x] Any exceptions [x] All exceptions enabled [x] Suspend [ ] Log message to console [ ] Remove once hit [ ] Uncaught only
Check or uncheck the boxes to get the behavior you want.
Aaron source share