Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds dep + options for debugger #35

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

MercerK
Copy link
Contributor

@MercerK MercerK commented Jul 29, 2022

Do Not Merge

This is a showcase for debugging.

However, I do recommend we establish a way of supporting this feature within Grakkit and allowing the user to enable the feature as needed for their use case.

debug

@Yu-Vitaqua-fer-Chronos
Copy link
Member

I'm honestly all for it, maybe we could use an environment variable or something? System property? But it depends if the license is compatible tbh

public static final Engine engine = Engine.newBuilder().option("engine.WarnInterpreterOnly", "false").build();
public static final Engine engine = Engine.newBuilder()
.option("engine.WarnInterpreterOnly", "false")
.option("inspect", "localhost:9229")
Copy link
Contributor

Choose a reason for hiding this comment

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

might be a good idea to make this some kind of config option, iirc the inspect thing halts js until a debugger is attached

Copy link
Contributor Author

Choose a reason for hiding this comment

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

iirc the inspect thing halts js until a debugger is attached

Yea, it does. I haven't messed with it too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants