<p>I'm a complete newbie to delve and was trying out its integration in vscode, but I did not have much luck. I set a breakpoint, start the debugger and the http server launches successfully, but the breakpoint doesn't seem to get picked up. I tried some googling to no avail.</p>
<p>Does anyone have any input? It'd be much appreciated.</p>
<p>Here's my launch.json, if that's any help. I haven't really customized anything in it.</p>
<pre><code>{
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
"host": "localhost",
"program": "${workspaceRoot}",
"env": {},
"args": []
}
]
}
</code></pre>
<hr/>**评论:**<br/><br/>Snavelzalf: <pre><p>What System are you Running, I had Zero problems with delve and vscode?</p></pre>media_guru: <pre><p>Ubuntu </p></pre>cube2222: <pre><p>Maybe try to use intellij idea + delve. Works like a charm for me.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传