I am trying to use delve in Eclipse Che
Running Eclipse Che in docker with
--privileged
is not helping
docker run -it --privileged --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/data eclipse/che start
When running dlv debug main.go
I get could not launch process: fork/exec /projects/desktop-go-simple/debug: operation not permitted
Can you run dlv debugger in Eclipse Che
Adding --privileged adds capabilities to Eclipse Che CLI only. Instead of that add
CHE_DOCKER_PRIVILEGED=true
line to che.env file inside of Che data directory mounted to/data