cannot override sys.excepthook

前端 未结 4 861
星月不相逢
星月不相逢 2020-12-02 00:02

I try to customize behavior of sys.excepthook as described by the recipe.

in ipython:

:import pdb, sys, traceback
:def info(type, value         


        
4条回答
  •  清歌不尽
    2020-12-02 00:53

    See this SO question and make sure there isn't something in your sitecustomize.py that prevents debugging in interactive mode.

提交回复
热议问题