使用 Delve 进行 vscode 调试问题 [英] vscode debug issues with Delve

查看:27
本文介绍了使用 Delve 进行 vscode 调试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Visual Studio 代码中调试 Go Lang 代码时,出现以下错误消息:

When I am debugging Go Lang code in visual studio code the below error message occured:

2018/04/03 18:19:32 server.go:73: Using API v1
2018/04/03 18:19:32 debugger.go:98: launching process with args: [$GOPATH/src/about/debug]
could not launch process: EOF
Process exiting with code: 1

推荐答案

我尝试了下面的场景并且成功了..

I tried below scenario and It worked..

sudo rm -rf /Library/Developer/CommandLineTools

then go to page https://developer.apple.com/download/more/
download and install previous version

Command Line Tools (macOS 10.13) for Xcode 9.1 - Dec 6, 2017

这篇关于使用 Delve 进行 vscode 调试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆