10
IPython नोटबुक में डिबग करने का सही तरीका क्या है?
जैसा कि मुझे पता है, %debug magicएक सेल के भीतर डिबग कर सकते हैं। हालाँकि, मेरे पास कई सेल में फ़ंक्शन कॉल हैं। उदाहरण के लिए, In[1]: def fun1(a) def fun2(b) # I want to set a breakpoint for the following line # return do_some_thing_about(b) return fun2(a) In[2]: import multiprocessing …