1
votes

I'm using vagrant with 16.04 image on host also ubuntu 16.04 On vagrant I start

$ dlv debug --headless --listen=:2345 --log

my launch my json:

enter image description here

but vscode start on local he is not connected to the port in vagrant :

config.vm.network :forwarded_port, guest: 2345, host: 2345, id: "debuggolang", host_ip: "localhost", auto_correct: true

when I try to put him in convention format :

enter image description here

break point doesn't stop

enter image description here

and dlv exit

Regards

1

1 Answers

0
votes

I resolved it I need to put the path to the root of my project in:

remotePath