nbdev icon indicating copy to clipboard operation
nbdev copied to clipboard

Cleaned notebooks often fail to debug properly

Open jtbr opened this issue 10 months ago • 0 comments

At least in VS Code, debugging fails semi-silently, when cells' json attributes are set to "execution_count": null, as nbdev_clean does. It appears that this can be worked around by simply setting them to 0 instead of null. Not sure if this will be fixed anytime soon in microsoft's code.

See: https://github.com/microsoft/debugpy/issues/1669#issuecomment-2430200548

Not sure if there are other reasons to use null however.

jtbr avatar Mar 31 '25 12:03 jtbr