Hi Pete,
Thanks for the contribution. You've caught us in transition, and the development setup isn't as nice as it should be. We're working toward the 5.0 release, transitioning everything to ES modules, and reworking the development tools. During this period, the docs are out of date and there are some things that aren't working as they should.
But, to answer your questions:
3. In the future, the Makefile will be gone. See above about the transition to 5.0. All development tasks will be npm scripts.
To debug the tests, run `npm run karma`, load
http://localhost:9876/debug.html, and open the developer tools. This is a pretty rough experience currently - things should improve as we approach the 5.0 release.
Tim