I'm new to pycharm. How can i configure pycharm to enter debugger when any error raised?
I was using Ipython before. In Ipython Console if error raised you simply type %debug
and will enter ipdb
.
However in pycharm Ipython Console, after I entered %debug
it displays this message: ERROR: No traceback has been produced, nothing to debug.
I've followed this Official Doc and this question but none of them work.
By the way, what's the function of debug
icon on pycharm console? Nothing happens even I activated it.
Sample code:
def debugg():
a = 1
a[3]
debugg()