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 <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Hana (Hyang-Ah) Kim 2023-05-19 14:09:21 -04:00 коммит произвёл Hyang-Ah Hana Kim
Родитель df47423349
Коммит e0d7ae9109
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -441,7 +441,7 @@ Here is the list of attributes specific to Go debugging.
<!-- SETTINGS BEGIN -->
| Property | Launch | Attach |
| --- | --- | --- |
| `args` | Command line arguments passed to the debugged program.<br/> | <center>_n/a_</center> |
| `args` | Command line arguments passed to the debugged program.<br/>(Default: `[]`)<br/> | <center>_n/a_</center> |
| `asRoot` | (Experimental) Debug with elevated permissions (on Unix). It requires `integrated` or `external` console modes and is ignored in remote debugging.<br/>(Default: `false`)<br/> | (Experimental) Debug with elevated permissions (on Unix). This requires `integrated` or `external` console modes and is ignored in remote debugging.<br/>(Default: `false`)<br/> |
| `backend` | Backend used by delve. Maps to `dlv`'s `--backend` flag.<br/><p>Allowed Values: `"default"`, `"native"`, `"lldb"`, `"rr"`<br/> | <center>_same as Launch_</center>|
| `buildFlags` | Build flags, to be passed to the Go compiler. Maps to dlv's `--build-flags` flag.<br/>(Default: `""`)<br/> | <center>_n/a_</center> |

Просмотреть файл

@ -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"