# Debug IPython Kernel Crash

**URL:** <https://discourse.jupyter.org/t/debug-ipython-kernel-crash/18690>\
**Category:** ipynb\
**Created:** [March 28, 2023, 6:28pm UTC](https://discourse.jupyter.org/t/debug-ipython-kernel-crash/18690 "2023-03-28T18:28:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nexus7](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@nexus7](https://discourse.jupyter.org/u/nexus7)\
**Post date:** [March 28, 2023, 6:28pm UTC](https://discourse.jupyter.org/t/debug-ipython-kernel-crash/18690/1 "2023-03-28T18:28:31Z")

</div>

Hi Everyone

I am trying to run a IPython notebook in which I am getting error : The kernel appears to have died. It will restart automatically. When I run the notebook as a Python script it seems to run properly. Any pointers on how to get stack trace or access ipykernel log to give insights on what is happening. I tried running notebook with --debug flag but was not of much use.
