From 9ae57e8f912109376520847777804a6346ac39e9 Mon Sep 17 00:00:00 2001 From: Zeke Lu Date: Wed, 31 May 2023 08:43:07 +0000 Subject: [PATCH] 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 Reviewed-by: Suzy Mueller Auto-Submit: Hyang-Ah Hana Kim Run-TryBot: Hyang-Ah Hana Kim TryBot-Result: kokoro --- docs/debugging.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/debugging.md b/docs/debugging.md index 3ab7606ef8..9040ba7152 100644 --- a/docs/debugging.md +++ b/docs/debugging.md @@ -492,7 +492,7 @@ your project lives in `/path/to/actual/helloWorld`, but the project is open in 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 @@ to your config to set breakpoints in the files in `/link/to/helloWorld`: "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" + } + ] } ```