Visual Code Linux permission on __debug delve debugger

0

I am debugging application with go debugger delve. Everytime I want my debugger be in presence I am hitting F5 main.go . Suddenly __debug.bin file owned by root is created and I get error go build open __debug.bin permission denied. Is there any solution to set debbuger in launch.json or somewhere else to state, that debug will be created with right permission. I won't run the code with sudo.

Coolman

Posted 2019-11-11T11:14:48.810

Reputation: 1

No answers