python:debug
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| python:debug [2021/07/27 06:21] – rex8312 | python:debug [2025/02/20 02:15] (현재) – rex8312 | ||
|---|---|---|---|
| 줄 2: | 줄 2: | ||
| | Examine exception from interpreter |jupyter notebook ' | | Examine exception from interpreter |jupyter notebook ' | ||
| - | | 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 | | Set breakpoint | ||
| 줄 33: | 줄 34: | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | |||
| + | ===== 원격 embed ===== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| ===== print 문 대안 ===== | ===== print 문 대안 ===== | ||
python/debug.1627366898.txt.gz · 마지막으로 수정됨: (바깥 편집)