사용자 도구

사이트 도구


python:debug

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
python:debug [2021/07/27 06:21] rex8312python:debug [2025/02/20 02:15] (현재) rex8312
줄 2: 줄 2:
  
 | Examine exception from interpreter |jupyter notebook 'debug'         | | Examine exception from interpreter |jupyter notebook 'debug'         |
-| Pinpoint variables in scope        |import IPython; IPython.embed() +| Pinpoint variables in scope        |import IPython; IPython.embed()  | 
 +| Pinpoint variables in scope        |import code; code.interact(local=locals())  | 
 | :::                                |whos                             | | :::                                |whos                             |
 | Set breakpoint                     |import pudb; pudb.set_trace()    | | Set breakpoint                     |import pudb; pudb.set_trace()    |
줄 33: 줄 34:
   * https://github.com/inducer/pudb   * https://github.com/inducer/pudb
   * https://github.com/Kozea/wdb  # web debugger   * https://github.com/Kozea/wdb  # web debugger
 +
 +===== 원격 embed =====
 +
 +  * https://github.com/pandolia/remote_embed
 +  * https://github.com/romanvm/python-web-pdb
  
 ===== print 문 대안 ===== ===== print 문 대안 =====
python/debug.1627366898.txt.gz · 마지막으로 수정됨: (바깥 편집)