Skip to content

Multiple node worker instances for Remote debugging: Can't run the all node instances with "--inspect" flag when provided in web.config parameter #690

@Anurag9589

Description

@Anurag9589

I have nodeProcessCountPerApplication=0 to use all the worker processes of node (as per no. of cpus) and nodeProcessCommandLine="node --inspect=0.0.0.0:9229" or nodeProcessCommandLine="node --inspect", when I check only 1 instance runs in inspect mode but no other instances were created.

I have checked the IISNode C++ code files, it shows that for debugging only 1 processCount gets created, whereas for my usecase i need to have all instances or out of all few node instances in inspect mode that is in debug mode.

Where as without --inspect switch, IISNode created more no. instances for nodeProcessCountPerApplication >0 and not equal to 1.

please let me know, how can this be achieved, so that IISNode load balances the debugging request accordingly, at the moment only 1 instance runs in inspect mode with this only 1 user can use the instance for debugging remote code in node process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions