Socket
Socket
Sign inDemoInstall

child-process-debug

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc