[TUT] Debug Game Dev Tycoon

Hi Y’all, today I will show you how to debug game dev tycoon with the webkit inspector we all know and love.
Game Dev Tycoon is build on node-webkit, which allows you to use remote debugging.
This makes development a lot easier and more fun, especially if you’re used to working with the webkit inspector.

With Steam

  • Right click the game, and click ‘Properties’
  • Set launch options…
  • Enter ‘–remote-debugging-port=9888’ (you can change this port if you like)
  • Start the game
  • Navigate to http://localhost:9888/
  • Click ‘Game Dev Tycoon’
  • Have fun!

With standalone

I’m not even sure if this exists, so please correct me if it doesn’t.

  • Browse to the EXE
  • Hold your right mouse button while dragging the executable, release it, select ‘Create shortcut here’.
  • Add ‘–remote-debugging-port=9888’ (you can change this port if you like) to the shortcut target
  • Start the game
  • Navigate to http://localhost:9888/
  • Click ‘Game Dev Tycoon’
  • Have fun!

The debugger in action

4 Likes

very nice. I’ve added a link to this from our wiki:

1 Like

Can’t. Zoom. I. Hate. You. Windows.

1 Like

If you are on a mac you can do this:

  • Open the Terminal
  • Enter this text: open -a “Game Dev Tycoon” --args --remote-debugging-port=9888
2 Likes