Skip to content

Commit

Permalink
Default stackTraceDepth to the value from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner committed Dec 21, 2018
1 parent 0ee759f commit ca622c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debugAdapter/goDebug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class Delve {
} else if (typeof launchArgs['useApiV1'] === 'boolean') {
this.isApiV1 = launchArgs['useApiV1'];
}
this.stackTraceDepth = launchArgs.stackTraceDepth;
this.stackTraceDepth = launchArgs.stackTraceDepth || 50;
let mode = launchArgs.mode;
let dlvCwd = dirname(program);
let isProgramDirectory = false;
Expand Down

0 comments on commit ca622c4

Please sign in to comment.