From e0d7ae91095b85266076549ff62db217b01bb516 Mon Sep 17 00:00:00 2001 From: "Hana (Hyang-Ah) Kim" Date: Fri, 19 May 2023 14:09:21 -0400 Subject: [PATCH] docs/debugging.md: update doc to reflect changes in cl/495816 Change-Id: Id7625ef22ff069c550536225b83bf05051dbcbbf Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/496440 Run-TryBot: Hyang-Ah Hana Kim Reviewed-by: Suzy Mueller TryBot-Result: kokoro --- docs/debugging.md | 2 +- package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/debugging.md b/docs/debugging.md index 726f5627..3ab7606e 100644 --- a/docs/debugging.md +++ b/docs/debugging.md @@ -441,7 +441,7 @@ Here is the list of attributes specific to Go debugging. | Property | Launch | Attach | | --- | --- | --- | -| `args` | Command line arguments passed to the debugged program.
|
_n/a_
| +| `args` | Command line arguments passed to the debugged program.
(Default: `[]`)
|
_n/a_
| | `asRoot` | (Experimental) Debug with elevated permissions (on Unix). It requires `integrated` or `external` console modes and is ignored in remote debugging.
(Default: `false`)
| (Experimental) Debug with elevated permissions (on Unix). This requires `integrated` or `external` console modes and is ignored in remote debugging.
(Default: `false`)
| | `backend` | Backend used by delve. Maps to `dlv`'s `--backend` flag.

Allowed Values: `"default"`, `"native"`, `"lldb"`, `"rr"`
|

_same as Launch_
| | `buildFlags` | Build flags, to be passed to the Go compiler. Maps to dlv's `--build-flags` flag.
(Default: `""`)
|
_n/a_
| diff --git a/package.json b/package.json index 3a993200..4160be97 100644 --- a/package.json +++ b/package.json @@ -678,7 +678,10 @@ "default": false }, "args": { - "type": ["array", "string"], + "type": [ + "array", + "string" + ], "description": "Command line arguments passed to the debugged program.", "items": { "type": "string"