hyperlight-dev / hyperlight-dev/hyperlight-js
Enable JS debugging inside a hyperlight-js guest
Open
Nobody has claimed this yet.
lifecycle/needs-review
- Dominant language
- Rust
- Stars
- 13
- Forks
- 5
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 13
Description
Description
To be able to debug a JS function in hyperlihg-js we need multiple things:
- quickjs support for debugging - https://github.com/quickjs-ng/quickjs/issues/119 tracks a discussion
- rquickjs to expose the quickjs debugging support
- hyperlight core to support host-guest communication related to internal guest debugger (or something similar). Furthermore, we need a server to communicate with a debugger (maybe DAP).
- hyperlight-js - implement the guest side of the debugger and link it with quickjs
Come up with a proposal to address any other debuggers in the future to avoid duplicate work
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked quickjs-ng debugging discussion, then review the responsibilities named for rquickjs, hyperlight core, and hyperlight-js. Produce a proposal covering QuickJS support, host-guest communication, a debugger server such as DAP, guest-side integration, and an approach that avoids duplicated work for future debuggers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100