-
Notifications
You must be signed in to change notification settings - Fork 645
the debugging tool is ignoring the go.buildTags
parameter
#1117
Comments
We can add the values of Thats pretty easy to do. PRs are welcome if anyone wants to give this a try. |
This feature is now out in the latest update to the Go extension 0.6.64 The debug code lens will now honor the |
I'm using the extension 0.6.65 and I'm still having problems. Specifically, I need to use the "fts5" module of SQLite. To this end, in the workspace settings file, I'm including "
I'm also including the line:
However, when I run tests using codelens, the "fts5" module fails to load. |
@ijlopez02 Do you need to use it both for testing and normal building, then don't include it in test flags, just use |
Sorry, running tests using codelens works. What is still failing me is debugging through codelens. |
So are you using |
I'm using
Running tests using codelens is generating the correct command, though.
|
@ijlopez02 In the latest update to the Go extension, the buildTags will be used by the debug code lens correctly |
Great! Thank you both very much @ramya-rao-a and @ka2n |
The debugging tool seems to be ignoring the value of the parameter
go.buildTags
. Running test functions does consider it, though. Using the filelaunch.json
I can solve this problem by setting thebuildFlags
parameter, but I'd like to use codelens, which are quicker. Is this a bug?The text was updated successfully, but these errors were encountered: