Skip to content

Cleaned notebooks often fail to debug properly #1514

@jtbr

Description

@jtbr

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: microsoft/debugpy#1669 (comment)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions