go extension

  • code-server version: 1.1119-vsc1.33.1
  • OS Version: docker
  • Extension: Go 0.10.2

Description

type 'F5' debug golang project,error info :
API server listening at: 127.0.0.1:2345 2019-05-28T06:56:31Z info layer=debugger launching process with args: [/home/coder/project/src/github.com/yudai/gotty/debug] could not launch process: fork/exec /home/coder/project/src/github.com/yudai/gotty/debug: operation not permitted Process exiting with code: 1

View the actual compilation command with the "top" command:go build -o /home/coder/project/src/github.com/yudai/gotty/debug -gcflags all=-N -l github.com/yudai/gotty

How to modify the configuration can change the actual compilation command to:go build -o /home/coder/project/src/github.com/yudai/gotty/debug -gcflags "all=-N -l" github.com/yudai/gotty