浏览器内调试js代码,这篇文章介绍了作者的开发心路
http://amasad.me/2014/01/06/building-an-in-browser-javascript-vm-and-debugger-using-generators/