-
Notifications
You must be signed in to change notification settings - Fork 818
Open
Labels
DebugIssues related to the debugging functionality of the extension.Issues related to the debugging functionality of the extension.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Description
Hi there
I am compiling golang plugin from code, and then read in the plugin again - for reading in code dynamic.
This works great from the terminal, but the problem is that when reading in the plugin using vscode debugger, the build flags are not the same as when I build the plugin.
Example:
- I build using:
commands := []string{"build", "-buildmode=plugin", "-o", pluginPathSo, pluginPathGo}
- Reading in the plugin with
plug, err := plugin.Open(path)
I get "plugin was built with a different version of package internal"
Problem
I can solve the problem using the same build flags as vscode, when building my plugin, but I dont know what build flags vscode is using?
Metadata
Metadata
Assignees
Labels
DebugIssues related to the debugging functionality of the extension.Issues related to the debugging functionality of the extension.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.