See the errors
- With developer mode on, uncaught errors from your theme show up as notices: “Theme: Uncaught SyntaxError: …”.
- For the real developer tools (console, inspector, network):
- Quit ejGames completely (quick menu → Quit ejGames).
-
Open it from a
cmdwindow with remote debugging on:(change the path if you installed it somewhere else). -
In Edge, open
edge://inspect(if nothing appears, press Configure… and addlocalhost:9222) and press inspect on the iframe entry that starts withhttp://ejg-theme.localhost/ejemplo/. That is your theme’s console:console.log()writes there. You can also inspect the pagehttp://tauri.localhost/and pick the theme iframe in the console’s context selector (where it says “top”).
What a theme cannot do
The theme lives in a closed box, for safety. This does not work:
To store things (the last game you opened, a filter…) use
ejg.storage:
each theme has 512 KB per profile and can store any JSON value.

