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

Inject debug programs in globalThis context #476

Merged
merged 2 commits into from
Jan 31, 2023
Merged

Conversation

icidasset
Copy link
Contributor

Closes #405

wn.program({
  namespace: "example",
  debug: true
})

const program = globalThis.__webnative.programs["example"]

Added a section to the 📜 README that explains it.

Copy link
Member

@bgins bgins left a comment

Choose a reason for hiding this comment

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

Looks good! 🎉 💯

Copy link
Member

@avivash avivash left a comment

Choose a reason for hiding this comment

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

LGTM!

@icidasset icidasset merged commit 7490780 into main Jan 31, 2023
@icidasset icidasset deleted the icidasset/debug-inject branch January 31, 2023 15:49
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.

Enhance setup.debug to always expose wn object if true
3 participants