-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wishlist: add support for a :GoDebugTestFunc
command
#2931
Comments
|
The vim-go help is useful here, too. |
hey @bhcleek , thanks for the answers. What I'm trying to say is: The same can be said of a |
What did you do? (required: The issue will be closed when not provided)
Ran the
:GoTestFunc
command to run tests for the function under the cursor.Since the tests failed, I wanted to debug the function to see where the issue was happening.
What did you expect to happen?
I expected there to be a
:GoDebugTestFunc
command, so I could start a debug session that ran the specific test under the cursor.What happened instead?
Had to figure out the correct
-test.run
parameter to pass to:GoDebugTest
.I was eventually able to find it, but would have been a lot easier if a
:GoDebugTestFunc
(or similar) existed.Configuration (MUST fill this out):
vim-go version: 33bf268
vimrc
you used to reproduce: n/aVim version (first three lines from
:version
):VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31)
Included patches: 1-2269
Modified by [email protected]
Go version (
go version
):go1.12.3 linux/amd64
Go environment
go env
Output:gopls version
gopls version
Output:The text was updated successfully, but these errors were encountered: