signals: enable debug mode with SIGUSR2