Sign inSign up

ptflp/godelve

By ptflp

•Updated over 6 years ago

Dockerized golang debugger throw derekparker delve

Image
0

1.2K

ptflp/godelve repository overview

⁠Dockerized Golang DELVE debugger

This repository about golang remote debug based on go-delve/delve⁠

⁠Getting started:

Firstly configure your IDE to remote debugging Go application on port :5813 than start your application

cd Go_Project_Folder
docker run -v $(pwd):$(pwd) -e PROJECT_PATH=$(pwd) -p 5813:5813 ptflp/godelve

⁠Options:

Environments variables:

    PROJECT_PATH - path to project with main entrypoint
    CONFIG_FILE - path to config file of golang application

Full example:

docker run -v $(pwd):$(pwd) -e PROJECT_PATH=$(pwd) -e CONFIG_FILE=./conf/app.yaml -p 5813:5813 ptflp/godelve 

Tag summary

Content type

Image

Digest

Size

243.7 MB

Last updated

over 6 years ago

docker pull ptflp/godelve