We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98af79b commit 1c3cea1Copy full SHA for 1c3cea1
src/adapter/stackTrace.ts
@@ -271,7 +271,8 @@ export class StackFrame implements IFrameElement {
271
this._rawLocation = rawLocation;
272
this.uiLocation = once(() => thread.rawLocationToUiLocation(rawLocation));
273
this._thread = thread;
274
- this.isReplEval = callFrame.url.endsWith(SourceConstants.ReplExtension);
+ const url = callFrame.url ?? '';
275
+ this.isReplEval = url.endsWith(SourceConstants.ReplExtension);
276
}
277
278
/**
src/cdp/api.d.ts
@@ -6187,7 +6187,7 @@ export namespace Cdp {
6187
* sent `Debugger.scriptParsed` event.
6188
* @deprecated
6189
*/
6190
- url: string;
+ url?: string;
6191
6192
6193
* Scope chain for this call frame.
0 commit comments