Skip to content

Commit b28ee2d

Browse files
authoredSep 29, 2024··
NO-ISSUE: Fix debugging image and docs (#6841)
1 parent 0c2f655 commit b28ee2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎Dockerfile.assisted-service-debug

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ RUN dnf install --enablerepo=crb -y gcc git nmstate-devel openssl-devel make &&
99
ENV GOROOT=/usr/lib/golang
1010
ENV GOPATH=/opt/app-root/src/go
1111
ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin
12+
# For build-minimal target
13+
ENV DEBUG_SERVICE=true
1214

1315
COPY --from=golang $GOPATH $GOPATH
1416
COPY --from=golang $GOROOT $GOROOT

‎docs/dev/debug.md

-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ It will deploy assisted-service in a debug mode together with its components. To
1515
{
1616
"name": "Remote - debug",
1717
"type": "go",
18-
"debugAdapter": "dlv-dap",
1918
"request": "attach",
2019
"mode": "remote",
21-
"remotePath": "",
2220
"port": 40000,
2321
"host": "127.0.0.1"
2422
},

0 commit comments

Comments
 (0)
Please sign in to comment.