Can I set Firebug breakpoints in jsFiddle?
开发者_开发百科jsFiddle is often used to illustrate and test here on SO. When I test/develop javascript I use Firebug a lot - breakpoints are my friends. Has anyone figured out a way of setting Firebug breakpoints in their jsFiddle test code?
[updated]
yes. it's the fiddle.hshell.net/show in the drop-down list of js files used when you select the scripts tab.
[updated 2]
seems to be in http://fiddle.jshell.net/_display/
now
[update 3]
You can use debugger;
to add breakpoints to your JS.
example here
精彩评论