Promises Debugger Extension allow you debug native Promises (ES6) right now in current and higher versions of Chrome and Firefox.
Please see video for details. Extension is in really early version, but soon it will have more features.
- First you need to run
init.bat
if you are on Window, orinit.sh
if you are on Linux/OS X - To run Firefox extension you should have Addons-SDK installed, then go to
firefox
subfolder and runcfx run
- To run Chrome extension, just load it as an unpacket extension from subfolder
chrome
__Note: Doesn't catch Promise errors from scripts which are produced before document is completely parsed. By some reason scripts cannot be injected before it, at least in Chrome.