Skip to content

wasm: a build with no debugger, -tags nodebug - #31

Merged
apiarytech merged 1 commit into
mainfrom
wasm-nodebug
Nov 4, 2026
Merged

apiarytech merged 1 commit into
mainfrom
wasm-nodebug

Conversation

@apiarytech

@apiarytech apiarytech commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #30. -tags nodebug builds the web module without packages dap and vmdebug. It is meant for a page that runs and stops programs with the load/scan ops and never debugs them.

  • globalThis.beedance has no dap.
  • The version reply gains "debugger": true|false, and engines is empty without the debugger.
  • The module's main is split: the adapter and its yield are in main_dap_js.go (!nodebug).
  • TestNodebugLeavesOutTheDebugger checks go list -deps for nodebug and lite,nodebug.

Sizes, stripped:

Tags Bytes
(none) 17,643,893
lite 13,196,236
nodebug 16,609,694
lite,nodebug 11,246,750

A page that only runs and stops programs (the load and scan ops) should not receive the debugger. -tags nodebug links neither dap nor vmdebug; beedance.dap is absent and the version reply says debugger: false. A test holds the dependency lists to it.
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for the pull request. beedance is dual-licensed, so contributors sign the contributor licence agreement once. Please read it and, if you agree, reply with the sentence below.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@apiarytech
apiarytech changed the base branch from diagram-gestures to main November 4, 2026 07:03
@apiarytech apiarytech closed this Nov 4, 2026
@apiarytech apiarytech reopened this Nov 4, 2026
@apiarytech

Copy link
Copy Markdown
Owner Author

recheck

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2026
@apiarytech
apiarytech merged commit fe1dd32 into main Nov 4, 2026
42 of 44 checks passed
@apiarytech
apiarytech deleted the wasm-nodebug branch November 5, 2026 05:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant