Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I debug a running Kiosk-mode Chrome application?

I have a Chrome application that experiences issues only when being run in kiosk mode. Is there any way to connect a debugger or enable the inspector for Kiosk-mode applications?

like image 380
Simon Steele Avatar asked Nov 27 '14 17:11

Simon Steele


People also ask

How do I inspect a remote device in Chrome?

Go to chrome://inspect#devices . Make sure that the Discover USB devices checkbox is enabled. Connect your Android device directly to your development machine using a USB cable. Your Android device may ask you to confirm that you trust this computer.


1 Answers

If you run Chrome with the --remote-debugging-port=9222 option it will provide access to DevTools at http://localhost:9222/. If you need to access it from a different computer you can forward the port with ssh.

Source: http://blog.chromium.org/2011/05/remote-debugging-with-chrome-developer.html

like image 120
Reilly Grant Avatar answered Mar 03 '23 12:03

Reilly Grant