Skip to content

Is it possible to debug js internal/bootstrap/loaders.js #3753

@theGABS

Description

@theGABS

Details

I wanna understand how bootstrapping of nodeJS works, some details about is here https://stackoverflow.com/questions/71213900/how-require-work-under-the-hood-in-nodejs

So I try to run node --inspect-brk, but it's probably too late, and loaders.js is already executed.

Node.js version

16.14.0 LTS
I can switch to another if its simplify

Example code

No response

Operating system

windows 10
I can switch to another if its simplify

Scope

debug, internal, under the hood, bootstrapping

Module and version

internal module, require, nativeModuleRequire

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions