From 489b59fd46bced03827027e17fabefc1dbd1e00a Mon Sep 17 00:00:00 2001 From: digeff Date: Tue, 16 Oct 2018 15:39:55 -0700 Subject: [PATCH] Fix not hitting BPs on the first line of NTVS unit test (#369) --- src/chrome/breakOnLoadHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chrome/breakOnLoadHelper.ts b/src/chrome/breakOnLoadHelper.ts index 23c180ec1..b54dfc7b1 100644 --- a/src/chrome/breakOnLoadHelper.ts +++ b/src/chrome/breakOnLoadHelper.ts @@ -55,7 +55,7 @@ export class BreakOnLoadHelper { } private getScriptUrlFromId(scriptId: string): string { - return this._chromeDebugAdapter.scriptsById.get(scriptId).url; + return utils.canonicalizeUrl(this._chromeDebugAdapter.scriptsById.get(scriptId).url); } public async setBrowserVersion(version: Version): Promise {