Skip to content
This repository was archived by the owner on Oct 2, 2021. It is now read-only.

Commit cecb61d

Browse files
authored
Merge pull request #330 from digeff/fix_bp_not_hitting
Fix breakpoint not hitting on certain paths
2 parents dd26072 + a70f9e6 commit cecb61d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chrome/chromeDebugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
815815
const resolvePendingBPs = async (source: string) => {
816816
source = source && this.fixPathCasing(source);
817817
const pendingBP = this._pendingBreakpointsByUrl.get(utils.fixDriveLetter(source)) || this._pendingBreakpointsByUrl.get(utils.fixDriveLetter(source, true));
818-
if (pendingBP && (!pendingBP.setWithPath || pendingBP.setWithPath === source)) {
818+
if (pendingBP && (!pendingBP.setWithPath || this.fixPathCasing(pendingBP.setWithPath) === source)) {
819819
await this.resolvePendingBreakpoint(pendingBP);
820820
this._pendingBreakpointsByUrl.delete(source);
821821
}

0 commit comments

Comments
 (0)