How can I access module elements from devtools console? #1843
Unanswered
snuup
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I like to interact with my js code from chrome devtools. This is why I prefer straight flat bundles with hoisted scopes that I create with rollup.
With modules delivered to the browser it gets more difficult, the base method would be to assign elements to window, like
This requires to add such code to several imports and causes effort. Is there a more rude way to access the elements inside the modules?
Beta Was this translation helpful? Give feedback.
All reactions