On the PC version of Trine, F8 opens the developer console. The console has tab completion, so you can easily explore the available commands.
Interesting Commands:
- show_fps — Shows the current frame rate.
- pause / unpause
- restartLevel
- unlockTrophy
- quit