-
Notifications
You must be signed in to change notification settings - Fork 767
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goTest.ts: add debug previous command
The extension currently provides a "Go: Test Previous" command which re-executes the last test that was run. To re-run the last debug session the user can usually just use F5 to run the currently selected launch config. However when debugging a test without a launch config (either "Go: Debug Test at Cursor" or through the codelens), they must first navigate back to the test to debug it. This change adds a "Go: Debug Previous" command which allows the user to rerun the last debug session that was executed through debugging the test at the cursor. This does not include the debug sessions that occur using the launch.json, since these can be re-run by using the currently selected launch configuration. Fixes #798 Change-Id: If44cd9b8d213a9030664a0f3ae0972e567a57f22 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/310185 Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com>
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 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
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