rroylance / phaser-ce-npm-webpack-typescript-starter-project

Project to get you started with your Phaser-CE (using the npm module) game using Typescript and Webpack for building! No hassle asset management, Google Web Font loader, live server, development vs distribution build pipeline, Electron packaging for desktop builds, and more...
https://rroylance.github.io/phaser-npm-webpack-typescript-starter-project/
The Unlicense
423 stars 73 forks source link

Added support for VSCode debugging #64

Closed eltoncezar closed 6 years ago

eltoncezar commented 6 years ago

Hi, this PR adds support for native debugging in VSCode. It is similar to what @Nepoxx suggested on #11, but I also added the tasks.json file. This way, I can use the "preLaunchTask" attribute to start the server and the debugger at the same time. I added just one debug config, for server:dev. And of course, I had to change .gitignore to include those files.

I believe this will help and encourage those who are using VSCode as their IDE.

rroylance commented 6 years ago

Thank you very much @eltoncezar!