mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
5db936d2ae
When developer calls setBreakpoint with an unknown script name, we convert the script name into regular expression matching all paths ending with given name (name can be a relative path too). To create such breakpoint in V8, we use type `scriptRegEx` instead of `scriptId` for `setbreakpoint` request. To restore such breakpoint, we save the original script name send by the user. We use this original name to set (restore) breakpoint in the new child process. |
||
---|---|---|
.. | ||
main.js | ||
mod.js |