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

Debugging on netlogoweb.org is difficult #401

Open
LaCuneta opened this issue Dec 21, 2021 · 0 comments
Open

Debugging on netlogoweb.org is difficult #401

LaCuneta opened this issue Dec 21, 2021 · 0 comments

Comments

@LaCuneta
Copy link
Contributor

With recent improvements to our bundling process, the code for Beak is now minified. If you open a web developer console to try to debug an issue it's hard to work with. You can "pretty print" the code, which helps a lot, but most local variables are still left with meaningless names. You can also build and run Galapagos locally in developer mode which is un-minified. But I don't want users interested in debugging or just exploring the NLW code on the site to have to install the tools to build and run Galapagos. I think it'd be nicer to include some way to easily see the full code.

The solutions I can think of are 1) include full code maps along with the bundles, 2) see if we can do a "light" minification that leaves names intact and just removes spaces/comments (see what the file size difference is), and/or 3) include a separate un-minified bundle that can be used behind a flag or alternate access URL.

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

No branches or pull requests

1 participant