Skip to content

Support javascript debugging? #2430

Answered by jedel1043
luffyfly asked this question in Q&A
Nov 11, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Yep! The spec defines a debugger statement which is precisely for use cases like yours.

Previously that was a bit impossible, since we were doing ast interpretation, but we recently moved to a VM architecture, which makes it a bit easier to implement pausing and resuming JS code. Though, that'll require some amount of API design.

If you have ideas about the API or some examples from which we can design ours, feel free to comment them here 😁

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@luffyfly
Comment options

@luffyfly
Comment options

@jasonwilliams
Comment options

Answer selected by luffyfly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants
Converted from issue

This discussion was converted from issue #2429 on November 11, 2022 05:01.