Skip to content

Debugging on netlogoweb.org is difficult #401

@LaCuneta

Description

@LaCuneta

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions