child-process-debug
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "child-process-debug", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Convenience methods for debugging child-process", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -26,10 +26,10 @@ # child-process-debug # | ||
The ChildProcess returned from spawn will have a property called `debugPort` indicating the debug port chosen for that | ||
child or `undefined`. | ||
child or undefined. | ||
### nextPort() ### | ||
Returns the next debug port that comes after the current process's debug port. If the current process doesn't have | ||
debug turned on then this will return `undefined`. This is useful if you're not using `spawn` and want to specify the | ||
debug turned on then this will return undefined. This is useful if you're not using `spawn` and want to specify the | ||
`--debug=port` argument yourself. | ||
### port() ### | ||
Returns the current process's debug port or `undefined` if debug is not turned on. | ||
Returns the current process's debug port or undefined if debug is not turned on. |
13743