Firebug-Like Debugger for Google Chrome

Firebug-like debugger for Google Chrome

There is a Firebug-like tool already built into Chrome. Just right click anywhere on a page and choose "Inspect element" from the menu. Chrome has a graphical tool for debugging (like in Firebug), so you can debug JavaScript. It also does CSS inspection well and can even change CSS rendering on the fly.

For more information, see https://developers.google.com/chrome-developer-tools/

Firebug for Chrome

You can use firebug lite. But Chrome already has more than decent developer tools built in it.

Firebug like debugging on Android

I use Firebug lite bookmarklet for iPhone and iPad, never tried on Android, check this out http://martinkool.com/post/13629963755/firebug-on-ipad-and-iphone it must be similar on Android.

To activate it use this steps:

  1. Create a new bookmark or bookmark a page
  2. Rename the bookmark to “Firebug”
  3. Copy the textarea link:

    javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F[i+'NS']&&F.documentElement.namespaceURI;E=E?Fi+'NS':Fi;Er;Er;Er;(Fe[0]||Fe[0]).appendChild(E);E=new%20Image;Er;})(document,'createElement','setAttribute','getElementsByTagName','FirebugLite','4','firebug-lite.js','releases/lite/latest/skin/xp/sprite.png','https://getfirebug.com/','#startOpened');

  4. Edit the Firebug bookmarklet, remove the URL and paste the
    bookmarklet
  5. Choose “Done” (on the virtual keyboard) and you’re all set
Hitting that bookmarklet should give you a fully functioning Firebug at the bottom of your mobile device.

What features does Firebug have that Chrome's Developer Tools do not have?

I used Firebug from the start and it was a godsend like the invention of fire. But then Chrome came out with its debugger and I tried it. I kept using Firebug, but kept an eye on Chome's dev tools and finally could not longer come up with a reason not to switch after JSON tools were added in v12.

Chrome's DevTools kick butt because it has:

  • Built in Timeline, Profiler and Heap analyzer
  • Built in Audit tool
  • Can access and edit Local/SessionStorage, Cookies, SqlLite DB's, WebSQL, AppCache etc...
  • WebSockets network sniffing
  • JS debugger has some more features (e.g. WebWorker breakpoints)
  • JS debugger let's you edit JS on the fly and run it (JSFiddle w/o the fiddle)
  • Each window gets a devtools window if you like; Firebug is a singleton
  • Firebug perturbs the page by slowing its loading down and by injecting CSS for its inspector feature

UPDATE: 2 years later I have to congratulate the Firefox team for making huge inroads. That said, the Chrome team and debugger make huge leaps forward on a monthly basis, leading the industry. I'd update the above list, but frankly it would fill the entire page.

Firebug cd equivalent in Chrome console / developer tools

No "cd" command yet, but it seems that we'll have a "dropdown list with all iframes to allow selecting current evaluation context for console expressions" in upcoming releases.


See http://trac.webkit.org/changeset/91839



Related Topics



Leave a reply



Submit