Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
breakOnAttach false on default
Browse files Browse the repository at this point in the history
  • Loading branch information
tineheller committed Nov 12, 2018
1 parent a05bdde commit 988b297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -191,7 +191,7 @@
"breakOnAttach": {
"type": "boolean",
"description": "When debugger attaches to a script, the script is paused immediately. (Pause button doesn't work after attach due to a VS Code problem.)",
"default": true
"default": false
},
"log": {
"type": "object",
Expand Down
4 changes: 2 additions & 2 deletions src/debugSession.ts
Expand Up @@ -61,7 +61,7 @@ export class JanusDebugSession extends DebugSession {
private ipcClient: DebugAdapterIPC;
private displaySourceNoticeCount = 0;
private terminateOnDisconnect = false;
private breakOnAttach = true;
private breakOnAttach = false;


public constructor() {
Expand Down Expand Up @@ -435,7 +435,7 @@ export class JanusDebugSession extends DebugSession {
this.variablesMap = new VariablesMap();
this.config = 'attach';
this.terminateOnDisconnect = args.terminateOnDisconnect;
this.breakOnAttach = (args.breakOnAttach !== undefined) ? args.breakOnAttach : true ;
this.breakOnAttach = args.breakOnAttach;
await this.ipcClient.connect();

let uris: string[] | undefined;
Expand Down

0 comments on commit 988b297

Please sign in to comment.