I’ve tried with both signed and unsigned apk, but on Chrome DevTools I see “No browsers detected.”.
The webview of the Ionic app isn’t recognized.
If I open a Chrome on the mobile device, then I see that the DevTool on my pc sees this browser.
are you trying with remote debug via network or cable? they should be visible on remote devices tab on chrome, make sure you enabled the discover usb devices option, if you’re doing this via network, you should follow the instructions to connect it via adb, then should be available on chrome.
I suppose usb debug is already enabled, but it’s weird, if you open a tab on chrome in your device with a random page, it should be visible on remote devices, if not, the problem is some where else, don’t know if xiaomi has got restrictions or what.
Yes, you can debug a deployed APK by connecting your device via USB. Install the APK, enable Developer Options and USB Debugging on your device, then connect it to your computer. Open Chrome, go to chrome://inspect, and your device should appear under “Remote Target.” Click “Inspect” next to your app to start debugging, just like with a development build.