How to disable JavaScript minification for debugging?

Hi,
As a game developer for museums, I use HTML5 increasingly often, and Hype is a very handy tool for that. The only problem is that debugging with the minification feature is difficult. And I would rather not minify the code, because it is not public but runs only on a local network.

Is there a way to disable JavaScript minification when exporting?
Or is there a recommended workflow for debugging non-minified code in Hype?

Thanks in advance!

1 Like

In the /Applications/Utilities/Terminal.app:

defaults write com.tumult.Hype4 UseFullHypeJSTemplate -bool YES

There's still some aspects that are reduced (like property names) but it is easier to reason with. @MaxZieb documented a lot of the bits in a HypeCookBook page.

To restore back to the default:

defaults delete com.tumult.Hype4 UseFullHypeJSTemplate
2 Likes