Open mkraenz opened 5 years ago
At the very least, one can debug inside chrome (and probably firefox) by using the sources
tab inside the dev tools (ctrl + shift + i
). Search the file you want to debug with ctrl + P
. Then simply add a breakpoint. Once the line is executed the debug session starts.
The only obvious change by adding devtool to webpack
is that you get a message Found source files, use ctrl + P
when opening bundle.js
.
Writing (unit) tests for classes that use
phaser
, e.g.MainScene
results innpm test
to fail. Those classes should be testable, too.