Reputation: 217
I want to debug GoLang on VSCode editor. In their documentation they say it is possible. I am following the following Link to install the debugging features on the IDE. https://marketplace.visualstudio.com/items?itemName=lukehoban.Go
And to install Delve they ask to follow these instructions https://github.com/derekparker/delve/blob/master/Documentation/installation/windows/install.md
Once installation is completed they ask to run the following code
$ mingw32-make install
But there is an error
mingw32-make: *** No rule to make target 'install'. Stop.
Does anybody know whats wrong with this? Has anything changed other than these instructions?
Upvotes: 5
Views: 5078
Reputation: 217
I managed to get this resolved. You don't want to install mingw for this. Instead run this code and make sure the dlv.exe which is created in any directory which is in your PATH variable in your computer.
$go get -u github.com/derekparker/delve/cmd/dlv
I also did an writeup about debugging Golang using VSCode and Delve. If you are interested you can read it here.
Upvotes: 5
Reputation: 7
Run mingw32-make install command from directory created by git clone https://github.com/derekparker/delve command.
Upvotes: 1