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

Commit

Permalink
Support --output when debugging tests #2445
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Jun 29, 2019
1 parent 86df86f commit 373f074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debugAdapter/goDebug.ts
Expand Up @@ -455,7 +455,7 @@ class Delve {
if (launchArgs.backend) {
dlvArgs.push('--backend=' + launchArgs.backend);
}
if (launchArgs.output && mode === 'debug') {
if (launchArgs.output && (mode === 'debug' || mode === 'test')) {
dlvArgs.push('--output=' + launchArgs.output);
}
if (launchArgs.args && launchArgs.args.length > 0) {
Expand Down

0 comments on commit 373f074

Please sign in to comment.