Revision 83154aa1 doc/api/debugger.markdown
doc/api/debugger.markdown | ||
---|---|---|
136 | 136 |
The V8 debugger can be enabled and accessed either by starting Node with |
137 | 137 |
the `--debug` command-line flag or by signaling an existing Node process |
138 | 138 |
with `SIGUSR1`. |
139 |
|
|
140 |
Once a process has been set in debug mode with this it can be connected to |
|
141 |
with the node debugger. Either connect to the `pid` or the URI to the debugger. |
|
142 |
The syntax is: |
|
143 |
|
|
144 |
* `node debug -p <pid>` - Connects to the process via the `pid` |
|
145 |
* `node debug <URI> - Connects to the process via the URI such as localhost:5858 |
Also available in: Unified diff