geros Posted September 23, 2015 Share Posted September 23, 2015 Hi allI am thinking of starting using Babel to develop my games. Maybe this is a silly question but how am i going to debug my modules from within the browser?Thanks. Link to comment Share on other sites More sharing options...
Skeptron Posted September 23, 2015 Share Posted September 23, 2015 If your project is properly setup, it will generate standard JS from your ES6, which you can debug in the browser. You could even generate minified JS and have sourceMaps for debugging. Check this boilerplate for ES6 + Babel, it's pretty awesome : https://github.com/belohlavek/phaser-es6-boilerplate drhayes and Befive.Info 2 Link to comment Share on other sites More sharing options...
geros Posted September 23, 2015 Author Share Posted September 23, 2015 Thanks Skeptron. I just run the project and i saw what are you saying. It's show time then Link to comment Share on other sites More sharing options...
Recommended Posts