Golang远程debugging器与vscode

我已经按照https://github.com/Microsoft/vscode-go/wiki/Debugging-Go-code-using-VS-Code将我的vscode附加到远程debugging器。

该代码在docker上执行,go文件位于共享驱动器上,可以从docker和我的工作站访问。 在我的工作站上,我可以启动代码并使用以下configuration连接到远程debugging器:

{ "name": "Remote", "type": "go", "request": "launch", "mode": "remote", "remotePath": "/some/remote/path", "port": 2345, "host": "127.0.0.1", "program": "${workspaceRoot}", "env": {}, "args": [], "showLog": true } 

但是,它不会停在断点上。 我的程序崩溃,远程debugging器只说:

 log breakpoint 2017/08/15 14:34:21 sql: no rows in result set 2017/08/15 14:34:22 debugger.go:473: halting 

我知道我的断点的path被访问,因为我在之前添加了一个日志logging探针。

任何想法,为什么它不停止在断点?