Resizing alone doesn’t make it mobile first

Where I’m coming from, I never had to even bother about mobile.

When I did start bothering about it… what was my surprise when everywhere I saw they would just resize the screen and call it a day.

Granted, it was usually because one thing was being…


This content originally appeared on DEV Community and was authored by Bruno Noriller

Where I'm coming from, I never had to even bother about mobile.

When I did start bothering about it... what was my surprise when everywhere I saw they would just resize the screen and call it a day.

Granted, it was usually because one thing was being explained and most of the time... it will be enough...

Except when it isn't...

Sometimes just resizing your desktop browser isn't enough... you have to use it on the real thing.

And if that's the case... what if I told you, you could have your desktop debugging experience in your phone?

Chrome/Android debug tools

  1. On your Android device, enable debugging
    1. See more here: https://developer.android.com/studio/debug/dev-options
  2. Connect your phone and desktop by USB
  3. Go to: chrome://inspect#devices
  4. ???
  5. Profit?

inspect devices tab

To learn more: https://developer.chrome.com/docs/devtools/remote-debugging/

The basics

If you're having trouble connecting, try unplugging and replugging it (seriously), also make sure "Discover USB devices" is checked.

After it's on, you can click inspect or even open new tabs!

inspect port forwarding

And you probably want to set up the port you'll be using to be forwarded.

inspected stack overflow

And that's it!

You have the full experience of debugging straight from Chrome

  • If you use it from the phone, it's reflected in the inspect window.
  • If you use it from the inspect window, it will reflect on the phone.
  • The area reserved for the bezel and address bar is transparent, but there.
  • Have you ever visited the SO landing page?

Sorry iPhone users... this one is for Android.

Feel free to donate so I would be able to buy an iPhone. 😘

https://buymeacoffee.com/noriller

Cover Photo by Joshua Mayo on Unsplash


This content originally appeared on DEV Community and was authored by Bruno Noriller


Print Share Comment Cite Upload Translate Updates
APA

Bruno Noriller | Sciencx (2021-11-21T22:38:13+00:00) Resizing alone doesn’t make it mobile first. Retrieved from https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/

MLA
" » Resizing alone doesn’t make it mobile first." Bruno Noriller | Sciencx - Sunday November 21, 2021, https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/
HARVARD
Bruno Noriller | Sciencx Sunday November 21, 2021 » Resizing alone doesn’t make it mobile first., viewed ,<https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/>
VANCOUVER
Bruno Noriller | Sciencx - » Resizing alone doesn’t make it mobile first. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/
CHICAGO
" » Resizing alone doesn’t make it mobile first." Bruno Noriller | Sciencx - Accessed . https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/
IEEE
" » Resizing alone doesn’t make it mobile first." Bruno Noriller | Sciencx [Online]. Available: https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/. [Accessed: ]
rf:citation
» Resizing alone doesn’t make it mobile first | Bruno Noriller | Sciencx | https://www.scien.cx/2021/11/21/resizing-alone-doesnt-make-it-mobile-first/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.