I would like to debug bookmarklets. How can I do this? Preferably in Firefox.
Bookmarklets has only one line of code so direct debugging them is impracticable.
If I create "script" tag with code which I send from bookmarklet, code from this "script" tag isn't listed on Firebug scripts... (this code run properly, only can't debugging)
Alternatively, If there is a possibility to debug code typed in a console, it will be OK too.