hyperlight-dev / hyperlight-dev/hyperlight-js

Enable JS debugging inside a hyperlight-js guest

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.