Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit 37b844a

Browse files
committed
Fix #594 - enable breakOnLoad by default
1 parent c54e7fa commit 37b844a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/chromeDebugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class ChromeDebugAdapter extends CoreDebugAdapter {
5858
}
5959

6060
public launch(args: ILaunchRequestArgs, telemetryPropertyCollector: ITelemetryPropertyCollector, seq?: number): Promise<void> {
61-
if (args.breakOnLoad && !args.breakOnLoadStrategy) {
61+
if ((args.breakOnLoad || typeof args.breakOnLoad === 'undefined') && !args.breakOnLoadStrategy) {
6262
args.breakOnLoadStrategy = 'instrument';
6363
}
6464

0 commit comments

Comments
 (0)