I have a very big Javascript file (> 50MB) generated by Emscripten (Debug mode).
Debugging this file is a pain in the browser. A solution would be to split the file in several small files. Loading time is no issue, because it is a debug build.
Any idea how to do this? I tried every function in a separate file but some functions reference other functions and then the load order of the JS files becomes relevant.