Debug javascript on mobile

Hi all

How do you debug / trace JAVASCRIPT on mobile. I understand that I can use <div> tag and output something right on a screen but I need to have alot of output during switching web pages.

Flash does allow me debug swf right on my Android phone with remote debugger.

Can I set JVASCRIPT for remote debug/trace with Dreamweaver, Aptana, Eclipse??

Thanks in advance.