Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics

Is there a way to debug a browser game? (console, devtools, ...)

A topic by supernapie created 5 days ago Views: 32 Replies: 2
Viewing posts 1 to 3

I develop mainly browser games with just javascript. Most games run fine, but sometimes i have some smaller bugs, which don't appear in Chrome. Sometimes things are just a little different in the itch app.

Two examples:

- focus/blur events of the window, used showing a pause screen

- no javascript window.prompt

It would be nice if i could debug these with a javascript console. Is there such an option in the app? Or do i have to try it in the version of the app which is on github?

(1 edit)

Have you tried Ctrl+Shift+I? That seems to have worked in other Electron programs, last I tried.

Thanks for the reply, but doesn't work.