Groups
Sign in
Groups
Consul
Conversations
About
Send feedback
Help
Debugging with visual studio
39 views
Skip to first unread message
Emma
unread,
Jun 3, 2020, 12:13:33 AM
6/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Consul
Dear All,
I am running the agent locally on development mode, using Visual Studio . Getting this output:'
can't load package: package .: no Go files in
/Users/Emma/go/src/github.com/hashicorp/consul/.vscode .
Any suggestions?
Thanks.
Emma
unread,
Jun 4, 2020, 12:48:18 AM
6/4/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Consul
Attached the VS launch.json configuration:
"version"
:
"0.2.0"
,
"configurations"
: [
{
"name"
:
"Launch file"
,
"type"
:
"go"
,
"request"
:
"launch"
,
"remotePath"
:
"${workspaceFolder}"
,
"mode"
:
"remote"
,
"port"
:
2345
,
"host"
:
"127.0.0.1"
,
"program"
:
"${workspaceFolder}"
},
]
When I start or quit the agent on command line, it's not debugging into some of the go files, such as leave.go .
Any suggestions help.
Warms,
Em
Reply all
Reply to author
Forward
0 new messages