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

Commit

Permalink
Default stackTraceDepth to the value from package.json (#2200)
Browse files Browse the repository at this point in the history
Fixes #2187, and fixes #2196
  • Loading branch information
segevfiner authored and ramya-rao-a committed Dec 30, 2018
1 parent cf0a61c commit ae1f72b
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 ae1f72b

Please sign in to comment.