Skip to content

Commit 15a266b

Browse files
polinasokhyangah
authored andcommitted
readme+welcome: announce remote attach debugging with dlv-dap
Updates #1930 Updates #1861 Will add gophercon details separately. Change-Id: I87fbe7dc3a41d0c9d3b27e40bd81b84a269a2ef9 GitHub-Last-Rev: 8a1b13f GitHub-Pull-Request: #1943 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/371494 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Trust: Peter Weinberger <[email protected]> TryBot-Result: kokoro <[email protected]>
1 parent 34504fd commit 15a266b

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
provides rich language support for the
99
[Go programming language](https://golang.org/).
1010

11+
📣
12+
[Remote attach debugging](docs/debugging.md#connecting-to-headless-delve-with-target-specified-at-server-start-up) is now available via Delve's native DAP implementation with Delve v1.7.3 or newer.
13+
We plan to enable this as the default in early 2022 to enhance remote debugging with the same
14+
[debugging features](docs/debugging.md) that are already in use for local debugging.
15+
We recommend switching your remote attach configurations in `launch.json` to use
16+
`"debugAdapter":"dlv-dap"` now to verify that this works for you.
17+
Please [file a new issue](https://github.com/golang/vscode-go/issues/new/choose) if you encounter any problems.
1118

1219
## Quick Start
1320

src/goMain.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,10 +724,10 @@ If you would like additional configuration for diagnostics from gopls, please se
724724
function showGoWelcomePage(ctx: vscode.ExtensionContext) {
725725
// Update this list of versions when there is a new version where we want to
726726
// show the welcome page on update.
727-
const showVersions: string[] = ['0.27.0'];
727+
const showVersions: string[] = ['0.30.0'];
728728
// TODO(hyangah): use the content hash instead of hard-coded string.
729729
// https://github.com/golang/vscode-go/issue/1179
730-
let goExtensionVersion = '0.27.0';
730+
let goExtensionVersion = '0.30.0';
731731
let goExtensionVersionKey = 'go.extensionVersion';
732732
if (isInPreviewMode()) {
733733
goExtensionVersion = '0.0.0';

src/welcome.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,11 @@ export class WelcomePanel {
158158
<div class="Announcement">
159159
<img src="${announceURI}" alt="announce" class="Announcement-image" />
160160
<p>
161-
Heads up!
162-
The extension now uses Delve's native DAP implementation (<a href="https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_dap.md">dlv-dap</a>)
163-
for local debugging. We updated the <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging.md">
164-
Documentation for Debugging</a> to show the new features available with dlv-dap.
165-
This change does not apply to remote debugging yet. For remote debugging, keep following
166-
the instruction in the <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md">old documentation</a>.
161+
New! <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging.md#remote-debugging">Remote
162+
attach debugging</a> is now available on demand via Delve's native DAP implementation with Delve v1.7.3 or newer.
163+
We plan to enable this as the default in early 2022 to enhance remote debugging with the same
164+
<a href="https://github.com/golang/vscode-go/blob/master/docs/debugging.md">debugging features</a>
165+
that are already in use for local debugging.
167166
</p>
168167
</div>
169168

0 commit comments

Comments
 (0)