Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 56492de5b9bc
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: fbf464146241
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on May 8, 2013

  1. debugger, cluster: each worker has new debug port

    Implement support for debugging cluster workers. Each worker process
    is assigned a new debug port in an increasing sequence.
    
    I.e. when master process uses port 5858, then worker 1 uses port 5859,
    worker 2 uses port 5860, and so on.
    
    Introduce new command-line parameter '--debug-port=' which sets debug_port
    but does not start debugger. This option works for all node processes, it
    is not specific to cluster workers.
    
    Fixes #5318.
    bajtos authored and bnoordhuis committed May 8, 2013
    Copy the full SHA
    43ec1b1 View commit details
    Browse the repository at this point in the history
  2. src: initialize debug-related uv_async_t handles

    uv_async_t handles for dispatching of debug messages and
    emitting NODE_DEBUG_ENABLED used to be initialized every time
    node::EnableDebug() was called, which happened every time
    user sends a SIGUSR1.
    
    Now they are initialized only once from node::Init() during
    application start.
    bajtos authored and bnoordhuis committed May 8, 2013
    Copy the full SHA
    fbf4641 View commit details
    Browse the repository at this point in the history