mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
8ab31402c1
Previously in the CommonJS loader, --inspect-brk is implemented checking whether the module points to the result of re-resolving process.argv[1] to determine whether the module is the entry point. This is unnecessarily complex, especially now that we store that information in the module as kIsMainSymbol. This patch updates it to simply check that symbol property instead. PR-URL: https://github.com/nodejs/node/pull/55679 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> |
||
---|---|---|
.. | ||
cjs | ||
esm | ||
helpers.js | ||
package_json_reader.js | ||
run_main.js | ||
typescript.js |