Debug IPython Kernel Crash

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.