How to see steam proton log?

Some Steam games doesn’t work well on Linux. If you are running a game with proton and you need the logs to see what’s failing you can do this:

Right click in the game, and inside ¨Launch options¨ add the following command:

PROTON_LOG=1 %command%

After running the game, the log will be placed in steam-<game-id>.log