| 875 | } |
| 876 | |
| 877 | onScriptParsed(params) { |
| 878 | if (params.url && !StringPrototypeStartsWith(params.url, 'node:')) { |
| 879 | debug('scriptParsed: scriptId=%s url=%s, length=%d', params.scriptId, params.url, params.length); |
| 880 | } |
| 881 | // This map grows by the number of scripts parsed, which is limited, and is just a |
| 882 | // small string -> string map. The lifetime is bounded by probe timeout etc. so cleanup is overkill. |
| 883 | this.scriptIdToUrl.set(params.scriptId, params.url); |
| 884 | } |
| 885 | |
| 886 | async bindBreakpoints() { |
| 887 | const uniqueTargets = new SafeMap(); |