The JavaScript debugging is great right out of The Browser these days.
WebGL debugging... it's a combination of how you're doing it, visually, especially for shader-related issues. For API calls, logging gets most things figured out, there is also this: https://github.com/KhronosGroup/WebGLDeveloperTools