Skip to content

Debugging Node.js Programs #29

@s2t2

Description

@s2t2

Run a script with inspect mode, then press n to go to each next line (how to go straight to a debugger statement instead?) Then type repl to actually access the variables.

node inspect my_program.js

h/t: https://www.youtube.com/watch?v=vW0pmFYWmCU

see: https://nodejs.org/api/inspector.html

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