Enable Chrome Developer Tools

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
jamie.cordingley
White ninja
White ninja
Posts: 5
Joined: 24 Jun 2016, 10:22
Distribution: Porteus Kiosk 5.4
Location: Manchester

Enable Chrome Developer Tools

Post#1 by jamie.cordingley » 15 Feb 2024, 15:13

Hi,

Can any tell me how to use chrome dev tools in kiosk? I have set a chrome browser preferences so that "DeveloperToolsAvailability" is set to 0 which then lets the "inspect" or "more tools > developer tools" not be disabled. But when i click them nothing happens.

I have a very unique application with a bug that happens not very often and need to get to the bottom of it so need to access the dev tools when it happens and i cant seem to replicate on dev machine.

Thanks
Jamie

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Enable Chrome Developer Tools

Post#2 by fanthom » 16 Feb 2024, 19:16

Jamie,

Please unblock relevant shortcut and start dev tools using it:
https://porteus-kiosk.org/faq.html#24

Thanks
Please add [Solved] to your thread title if the solution was found.

jamie.cordingley
White ninja
White ninja
Posts: 5
Joined: 24 Jun 2016, 10:22
Distribution: Porteus Kiosk 5.4
Location: Manchester

Enable Chrome Developer Tools

Post#3 by jamie.cordingley » 19 Feb 2024, 11:28

Hi Fanthom,

Thanks for that, whilst this gives me the option now. When clicking to open dev tools or using the keyboard shortcut they still do not appear! Any ideas?

Thanks
Jamie

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Enable Chrome Developer Tools

Post#4 by fanthom » 19 Feb 2024, 12:03

1) Perhaps your 'browser_parameters=' have incorrect formatting, connect to the kiosk over SSH -> run: mcedit $json and manually change to:

Code: Select all

"DeveloperToolsAvailability": 1,
restart the browser.

2) If that does not help then check if dev tools open on kernel.org webpage.

It works for me.
Please add [Solved] to your thread title if the solution was found.

jamie.cordingley
White ninja
White ninja
Posts: 5
Joined: 24 Jun 2016, 10:22
Distribution: Porteus Kiosk 5.4
Location: Manchester

Enable Chrome Developer Tools

Post#5 by jamie.cordingley » 19 Feb 2024, 12:20

Thanks but no luck with that either. It recognises that is enabled but doesnt load when clicking / entering the shortcut. Potentially an openbox issue would you think? as usually dev tools open in a new window

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Enable Chrome Developer Tools

Post#6 by fanthom » 19 Feb 2024, 12:22

You are first reporting it so I doubt this is an openbox issue.

1) Have you tried on kernel.org?
2) Check if it works in VirtualBox maybe or some other PC
3) You may also install fresh 5.5.0 with no configuration except SSH and check if modifying $json manually allows you to open tools.


Thanks
Please add [Solved] to your thread title if the solution was found.

jamie.cordingley
White ninja
White ninja
Posts: 5
Joined: 24 Jun 2016, 10:22
Distribution: Porteus Kiosk 5.4
Location: Manchester

Enable Chrome Developer Tools

Post#7 by jamie.cordingley » 19 Feb 2024, 12:36

not really sure regarding kernel.org, it doesnt seem to have anything in relation to chrome and kernel changes are way beyond my skills.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Enable Chrome Developer Tools

Post#8 by fanthom » 19 Feb 2024, 13:39

Any webpage other than you default webpage is good.
You can check it on e.g. youtube.com.

I doubt it will work then but no harm checking.
Please add [Solved] to your thread title if the solution was found.

Locked