readme+welcome: announce remote attach debugging with dlv-dap
Updates golang/vscode-go#1930
Updates golang/vscode-go#1861
Will add gophercon details separately.
Change-Id: I87fbe7dc3a41d0c9d3b27e40bd81b84a269a2ef9
GitHub-Last-Rev: 8a1b13f33e310671b5d96d3790865eb7cc249d15
GitHub-Pull-Request: golang/vscode-go#1943
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/371494
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Trust: Peter Weinberger <pjw@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
diff --git a/README.md b/README.md
index 34a79e2..692756b 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,13 @@
provides rich language support for the
[Go programming language](https://golang.org/).
+📣
+[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.
+We plan to enable this as the default in early 2022 to enhance remote debugging with the same
+[debugging features](docs/debugging.md) that are already in use for local debugging.
+We recommend switching your remote attach configurations in `launch.json` to use
+`"debugAdapter":"dlv-dap"` now to verify that this works for you.
+Please [file a new issue](https://github.com/golang/vscode-go/issues/new/choose) if you encounter any problems.
## Quick Start
diff --git a/src/goMain.ts b/src/goMain.ts
index 02ed360..8bcb57e 100644
--- a/src/goMain.ts
+++ b/src/goMain.ts
@@ -724,10 +724,10 @@
function showGoWelcomePage(ctx: vscode.ExtensionContext) {
// Update this list of versions when there is a new version where we want to
// show the welcome page on update.
- const showVersions: string[] = ['0.27.0'];
+ const showVersions: string[] = ['0.30.0'];
// TODO(hyangah): use the content hash instead of hard-coded string.
// https://github.com/golang/vscode-go/issue/1179
- let goExtensionVersion = '0.27.0';
+ let goExtensionVersion = '0.30.0';
let goExtensionVersionKey = 'go.extensionVersion';
if (isInPreviewMode()) {
goExtensionVersion = '0.0.0';
diff --git a/src/welcome.ts b/src/welcome.ts
index e669941..e881e8e 100644
--- a/src/welcome.ts
+++ b/src/welcome.ts
@@ -158,12 +158,11 @@
<div class="Announcement">
<img src="${announceURI}" alt="announce" class="Announcement-image" />
<p>
- Heads up!
- 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>)
- for local debugging. We updated the <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging.md">
- Documentation for Debugging</a> to show the new features available with dlv-dap.
- This change does not apply to remote debugging yet. For remote debugging, keep following
- the instruction in the <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md">old documentation</a>.
+ New! <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging.md#remote-debugging">Remote
+ attach debugging</a> is now available on demand via Delve's native DAP implementation with Delve v1.7.3 or newer.
+ We plan to enable this as the default in early 2022 to enhance remote debugging with the same
+ <a href="https://github.com/golang/vscode-go/blob/master/docs/debugging.md">debugging features</a>
+ that are already in use for local debugging.
</p>
</div>