docs/debbugging.md: fix the format of an example launch.json
Change-Id: I235fb4960de994f84a70e6b1460ed52b5a8ca3b1
GitHub-Last-Rev: 2cde5ded3dbeb10f9b10feb138467981d5b10816
GitHub-Pull-Request: golang/vscode-go#2774
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/495636
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
diff --git a/docs/debugging.md b/docs/debugging.md
index 3ab7606..9040ba7 100644
--- a/docs/debugging.md
+++ b/docs/debugging.md
@@ -492,7 +492,7 @@
vscode under the linked folder `/link/to/helloWorld`, you can add the following
to your config to set breakpoints in the files in `/link/to/helloWorld`:
-```
+```json
{
"name": "Launch with symlinks",
"type": "go",
@@ -500,11 +500,11 @@
"mode": "debug",
"program": "/path/to/actual/helloWorld",
"substitutePath": [
- {
- "from": "/link/to/helloWorld",
- "to": "/path/to/actual/helloWorld",
- },
- ],
+ {
+ "from": "/link/to/helloWorld",
+ "to": "/path/to/actual/helloWorld"
+ }
+ ]
}
```