Debugging Firefox Mobile on Your Computer

I needed to debug a web page that I was working on, which was having some issues on mobile versions of firefox.  I just needed to look at the console, but setting this up was a bit complicated, moreso than it should be.  This should hopefully help:

  1. On your phone: Settings>About Phone>Build number (tap this 7 times to become a developer).
  2. Enable USB sharing: On your phone: Settings>Developer Options>USB Debugging
  3. In firefox on your desktop, open developer tools (Ctrl+Shift+I). Click on the gear icon. In the Advanced Settings section, check the boxes for \'Enable chrome and add-on debugging\' and the \'Enable remote debugging.
  4. Open the firefox on your mobile device. Click on the menu, then go to Settings>Developer Tools. Enable remote debugging by checking the appropriate checkbox.
  5. Connect your phone to your computer with a USB cable
  6. In Firefox on your desktop, go to Tools>Web Developer>WebIDE
  7. Click on \'Select Runtime\' dropdown, your device should be listed, click on it.
  8. Look at your phone, there should be a message to allow the connection. Click ok
  9. In WebIDE, click on the \'Open App\' dropdown. There is a section that lists currently open tabs, click on the tab you would like to debug.
  10. You should now have access to the console, inspector, etc...

Related Posts

Fixed Position Div Isn't Staying Fixed When Scrolling on Android

My nice fixed position toolbar wasn't sticking as it should as I scrolled through on my mobile browser window...
Read Post

Simple Sticky Element

The user scrolls down the page and once the scrolling reaches the top of an element of my choosing, that element sticks to the top of the window, so it's always visible from that point on...
Read Post

Chrome displays a different height than what Chrome says the height should be.

I was changing the height of an element, but no matter where I specified the height, it wasn't displaying what I was putting in
Read Post

A Nicer Select Dropdown

Better select boxes are all over the internet, but I actually couldn't find one that I liked, and that worked for what I needed...
Read Post