Breakpoints on functions

37 views
Skip to first unread message

Konstantin Tokarev

unread,
Dec 10, 2013, 3:23:50 AM12/10/13
to fir...@googlegroups.com
Hi all,

I'd like to debug minified JavaScript with Firebug. As you may guess, it has lots of functions on each line of script, so setting breakpoints per line is pretty useless. Is it possible to set breakpoint on individual functions somehow?

Also, is there any plugin to format JS inside debugger (to make setting breakpoints inside this mess somewhat easier)? I've found FireRainbow, but it does only syntax highlighting.

Simon Lindholm

unread,
Dec 10, 2013, 12:44:45 PM12/10/13
to fir...@googlegroups.com
https://addons.mozilla.org/en-US/firefox/addon/javascript-deminifier/ might be able to help the latter (which also makes setting breakpoints easier). We're hoping it will be possible to add this functionality directly into Firebug in the future, now that the platform has given us better APIs ("JSD2"). (Sorry, no, there is no way to set a breakpoint on a function.)
Reply all
Reply to author
Forward
0 new messages