Skip to content

[docs] Document VS Code Azure Functions Node debugging - #1889

Merged
Ella Hathaway (ellahathaway) merged 3 commits into
release/17.0from
docs/pr-20943-38497052797-1-58cb5b59b7202851
Oct 27, 2026
Merged

Ella Hathaway (ellahathaway) merged 3 commits into
release/17.0from
docs/pr-20943-38497052797-1-58cb5b59b7202851

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents the VS Code debugging support added by microsoft/aspire#20943 for JavaScript and TypeScript Azure Functions apps.

  • Explain loopback inspector-port reservation until task launch, Azure Functions Core Tools task startup, and attachment with VS Code's built-in pwa-node debugger.
  • Document the supported cleanup direction: stopping the Aspire debug session stops the Functions task.
  • Add azure-functions-node to the existing debugger configuration keys and explain when to use it instead of node.
  • Split Azure Functions language coverage into C#/.NET and JavaScript/TypeScript rows, with the correct debugger and extension requirements.

Targets release/17.0, matching the source PR's milestone. Implementation details were verified against the source PR's merge commit 4de47f1f1b0078ee62dc25f5a03b30e1e1ee9471.

Third-party links and affiliations

None. The table reuses the existing Microsoft VS Code Marketplace links.

Validation

  • git diff --check: passed.
  • MDX syntax compilation with table support: passed. Exact command, run from src/frontend:
node --input-type=module -e 'import { readFile } from "node:fs/promises"; import { compile } from "@mdx-js/mdx"; import remarkGfm from "remark-gfm"; await compile(await readFile("src/content/docs/get-started/aspire-vscode-extension.mdx", "utf8"), { remarkPlugins: [remarkGfm] }); console.log("Edited MDX compiles successfully.");'
  • The earlier local browser preview verified the new configuration-key guidance and both language-specific table rows. A repeat preview for the final paragraph correction was attempted with pnpm --dir src\frontend dev and npx --yes @playwright/cli -s=docs1889-correction open http://localhost:4321/get-started/aspire-vscode-extension/, but could not connect before the preview was stopped; final rendering was not reverified.
  • Source verification confirms inspector-port reservation, Core Tools task startup, pwa-node attachment, cleanup of the Functions task when the Aspire debug run stops, and independent registration of the Node Functions debugger without the Azure Functions VS Code extension.

The browser and temporary dev server were stopped. No production build or full test suite was run for this prose/table-only change.

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Oct 14, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1889. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1889 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 6c564cc7-36e2-4cac-b334-c50fb7faa6b6
@ellahathaway
Ella Hathaway (ellahathaway) marked this pull request as ready for review October 14, 2026 17:32
Copilot AI balanced review requested due to automatic review settings October 14, 2026 17:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human confirmation is needed that the implementation is included in the product’s release/17.0 branch before these docs merge.

0 open findings

What changed in this PR

Documents VS Code debugging support for JavaScript and TypeScript Azure Functions apps in Aspire.

Changes:

  • Adds guidance for the azure-functions-node debugger configuration key.
  • Separates Azure Functions debugger and extension requirements by language.
  • Explains automatic Core Tools startup and built-in Node debugger attachment.
File Description
src/​frontend/​src/​content/​docs/​get-started/​aspire-vscode-extension.mdx Updates Azure Functions debugging guidance and language-specific requirements.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 6c564cc7-36e2-4cac-b334-c50fb7faa6b6

@ellahathaway Ella Hathaway (ellahathaway) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation accuracy review

No blocking accuracy issues found. The changes match the implementation in microsoft/aspire#20943, checked at commit 4de47f1.

Confirmed:

  • JavaScript/TypeScript Functions debugger settings use azure-functions-node, not node.
  • The extension reserves a loopback inspector port until task launch, starts Core Tools as a task, and attaches the built-in pwa-node debugger.
  • Stopping Aspire debugging stops the Functions task.
  • JavaScript/TypeScript Functions do not require the Azure Functions VS Code extension; .NET Functions use coreclr and require the Azure Functions and C# extensions.

Optional improvements: link to the Core Tools installation prerequisites and add a small debuggers.azure-functions-node configuration example.

@ellahathaway
Ella Hathaway (ellahathaway) dismissed their stale review October 27, 2026 22:39

Withdrawing this request-changes review: release/17.0 implementation availability is not a blocking criterion for this PR at this stage. All eight inline findings were based solely on that branch mismatch and should not block merging. The independent documentation report remains informational; real debugger behavior was not exercised.

@ellahathaway
Ella Hathaway (ellahathaway) merged commit db346f9 into release/17.0 Oct 27, 2026
16 checks passed
@ellahathaway
Ella Hathaway (ellahathaway) deleted the docs/pr-20943-38497052797-1-58cb5b59b7202851 branch October 27, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants