Currently, the only way (in stages) to debug Scala.js code that I know is inside the browser. You can create an HTML runner for your tests in sbt:
sbt> testHtmlFastOpt
// snip
[info] Wrote HTML test runner. Point your browser to .../test-suite-fastopt-test.html
This has been working since Scala.js 0.6.10.
source
share