I don’t know why but now all my js errors get intercepted by the connection.on('error') of the connect function in the launch.js file.
It prints just “3” and silent. Also, it doesn’t show anything in the editor.
To read my error I have to put a breakpoint end print the msg argument of the error event.
The only thing I was able to do was to debug and confirm that the initialize method is wrapped inside a try/catch of the onmessage method of the Connection class that is used to load a new scene.
This is not part of the opensource code, so there isn’t much I can do.
@vaios Could you confirm and see if there is a better solution?