Repository navigation
[docs] Update Go Delve server docs for new WithDelveServer API shape - #1449
Merged
David Pine (IEvangelist) merged 1 commit intoAug 7, 2026
Conversation
Documents changes from microsoft/aspire#19081 Co-authored-by: Copilot <[email protected]>
6 of 14 tasks
Sébastien Ros (sebastienros)
approved these changes
Aug 7, 2026
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
David Pine (IEvangelist)
marked this pull request as ready for review
August 7, 2026 20:46
David Pine (IEvangelist)
requested review from
David Pine (IEvangelist) and
Eric Erhardt (eerhardt)
as code owners
August 7, 2026 20:46
David Pine (IEvangelist)
deleted the
docs/go-delve-server-api-19081-c0d8f4db97452aed
branch
August 7, 2026 20:46
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Aspire docs site’s Go hosting integration page to reflect the corrected WithDelveServer / withDelveServer API shape (default no-args overload plus the DelveServerOptions configuration path), aligning the documentation with the shipped Aspire.Hosting.Go integration behavior.
Changes:
- Updates the headless Delve server examples to use
WithDelveServer()/withDelveServer()with no arguments for the default behavior. - Adds a new advanced example showing configuration via
DelveServerOptions(C#) and the equivalent TypeScript options object. - Adds an options table and a note about the obsolete
WithDelveServer(int port = 2345)overload.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+436
to
+437
|
|
||
| | Option | Default | Delve behavior | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents changes from microsoft/aspire#19081
@sebastienrosTargeting
release/13.5based on the source PR milestone13.5(exact match).Why
PR #19081 corrected the
WithDelveServer/withDelveServerAPI shape on theAspire.Hosting.Gointegration:WithDelveServer()now takes no port argument by default;WithDelveServer(DelveServerOptions)exposesAcceptMultiClient,OnlySameUser,ContinueOnStart,Log, andLogOutput.WithDelveServer(int port = 2345)overload remains only as an obsolete binary-compatibility shim.AcceptMultiClientcasing was corrected and multi-client support now defaults tofalse.The docs site's Go hosting integration page (
go-host.mdx) still showed the oldWithDelveServer(port: 2345)call and didn't document the newDelveServerOptionstype, so it was out of sync with the shipped API.What changed
src/frontend/src/content/docs/integrations/frameworks/go/go-host.mdx: Updated the "Headless Delve server" section to showWithDelveServer()with no args for the default case, added a new example showingDelveServerOptions(multi-client, continue-on-start, logging), added the options table (mirroring the integration README), and added a note about the obsoleteport:overload.No new pages were created; only the existing Go hosting page was updated.