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
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