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

Commit 28b4541

Browse files
committed
fix for #15 "Stop on Entry" doesn't work
1 parent 5f56f2e commit 28b4541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/nodeDebug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class NodeDebugSession extends DebugSession {
263263
protected launchRequest(response: DebugProtocol.LaunchResponse, args: LaunchRequestArguments): void {
264264

265265
this._externalConsole = (typeof args.externalConsole === 'boolean') && args.externalConsole;
266-
this._stopOnEntry = (typeof args.externalConsole === 'boolean') && args.stopOnEntry;
266+
this._stopOnEntry = (typeof args.stopOnEntry === 'boolean') && args.stopOnEntry;
267267

268268
this._initializeSourceMaps(args);
269269

0 commit comments

Comments
 (0)