Skip to content

Commit b31e73c

Browse files
dragetddchaykin
authored andcommitted
Remove comments from json example
JSON does not support comments. If someone copy-pastes the example, it should be valid JSON.
1 parent 3e5c6f6 commit b31e73c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ _Hint: always wait until this log message is shown for this pod before you start
239239

240240
Now we need a debug configuration in Visual Code. This can be done in `.vscode/launch.json`:
241241

242-
```
242+
```json
243243
{
244244
"version": "0.2.0",
245245
"configurations": [
@@ -248,15 +248,17 @@ Now we need a debug configuration in Visual Code. This can be done in `.vscode/l
248248
"type": "go",
249249
"request": "attach",
250250
"mode":"remote",
251-
"remotePath": "/go/src/github.com/setlog/debug-k8s", // path to the project path inside the pod
252-
"port": 30123, // local port to send the debug commands to
253-
"host": "127.0.0.1", // host to send the debug commands to
251+
"remotePath": "/go/src/github.com/setlog/debug-k8s",
252+
"port": 30123,
253+
"host": "127.0.0.1",
254254
"showLog": true
255255
}
256256
]
257257
}
258258
```
259259

260+
Where `remotePath` is the path to the project path inside the pod, `port` the local port to send the debug commands to, and `host` the host to send the debug commands to.
261+
260262
You find the new configuration in Visual Code here:
261263

262264
![Debug Configuration](images/debug-config.png "Where to find the debug config")

0 commit comments

Comments
 (0)