Install Atom and node-debugger
|
|
Config Project
- Open your node project.
- Click
Cmd+,
openSettings
. - Select
Packages
and open settings ofnode-debugger
. - Config
Node Path
andScript Main
.
How to debug
- Use shortcut or command-palette:toggle to run
node-debugger:start-resume
. - Use
node-debugger:toggle-breakpoint
to toggle breakpoint where you want. - Send request on client.
- Breakpoint will be trigger.
- Use
node-debugger:step-next
,node-debugger:start-resume
andnode-debugger:stop
for debug. - Print variable by input js script in debug console.