plex-web-downloader/node_modules/cluster/docs/debug.md

31 lines
706 B
Markdown
Raw Permalink Normal View History

2015-10-13 15:47:32 -04:00
## Debug
Outputs verbose debugging information to _stderr_.
info - master started
info - worker 0 spawned
info - worker 1 spawned
info - worker 2 spawned
info - worker 3 spawned
info - worker 2 connected
info - worker 0 connected
info - worker 3 connected
info - worker 1 connected
info - listening for connections
^C info - shutting down
warning - kill(SIGKILL)
info - shutdown complete
warning - worker 2 died
warning - worker 0 died
warning - worker 3 died
## Usage
cluster(server)
.use(cluster.debug())
.listen(3000);
### Options
- `colors` enable color output, defaults to true