Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to enable remote debugging in chrome devtools?


Asked by Lee Pittman on Dec 04, 2021 Chrome A guide to developing tools



Remote Debugging lets you inspect a page running on an Android device from your development machine. The workflow below works for most users. See Troubleshooting: DevTools is not detecting the Android device for more help. Open the Developer Options screen on your Android. See Configure On-Device Developer Options. Select Enable USB Debugging.
Subsequently,
Run the Chrome instance that you will be debugging remotely with the remote debugging command line switch: chrome.exe --remote-debugging-port=9222 --user-data-dir=remote-profile. It is essential that you use a different instance of Chrome for the remote session and that is why we run it with...
Indeed, To debug mobile websites on Android, the desktop version of Chrome provides a solution with remote debugging. This article will show you how to use remote debugging with Chrome from your computer. You can use one of the common desktop operating systems like Windows, macOS, or Linux.
And,
Debug WebViews in your native Android apps using Chrome Developer Tools. On Android 4.4 (KitKat) or later, use DevTools to debug WebView content in native Android applications. Enable WebView debugging in your native Android app; debug WebViews in Chrome DevTools.
Additionally,
Debugging on a device with Chrome Developer Tools If you're using Create React Native App or Expo CLI, this is configured for you already. On iOS devices, open the file RCTWebSocketExecutor.mm and change "localhost" to the IP address of your computer, then select "Debug JS Remotely" from the Developer Menu.