-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goDebugFactory,src/goDebug: only add --log-output flag if --log i…
…s set In order to enable logging, debug users can set "showLog": true and specify the output with "logOutput". These map directly to the delve flags "--log" and "--log-output". If "--log-output" is passed without "--log" delve complains. This means that users always have to remove "--log-output" if they want to disable logging. This change only passes the "--log-output" to delve if "showLog": true. This allows users to disable logging by simply setting "showLog": false. Change-Id: Ic568fbebe6b5ab07b2b5b2e60b6c68659cd67430 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/335029 Trust: Suzy Mueller <[email protected]> Run-TryBot: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters