AnswerDotAI / AnswerDotAI/nbdev

Cleaned notebooks often fail to debug properly

Open
#1,514 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
5.3k
Forks
513
Avg merge
2d 30m
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.