I wasted >1h trying to find out why the debug bar was not shown on my remote staging server. Hopefully this will help other people avoid this mistake...
**Watch out: by default the debug module only works when browsing the website from the localhost. If you want to use it on a remote (staging) server, add the parameter allowedIPs to the config to whitelist your IP.**