如何在VSCode中进行调试

I have a problem with the Golang debugger in Visual Studio Code. My launch.json:

"configurations": [
    {
        "name": "Launch",
        "type": "go",
        "request": "launch",
        "mode": "debug",
        "program": "${workspaceRoot}",
        "port": 2345,
        "host": "127.0.0.1",
        "env": {},
        "args": []
    }
]

I put a breakpoint, I launch the debugger, it start up and write to the Debug Console:

API server listening at: 127.0.0.1:2345

and nothing else happens!

Thanks in advance for your help!