https://bugs.winehq.org/show_bug.cgi?id=50092
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- The full command should be "WINEDEBUG=+relay,+seh,+int wine prog-name &> log-file". You need to set the environment variable on the same line (otherwise it'll have no effect), and "wine" should be in lowercase, or else be the path to the "wine" executable installed on your system.