re-added debug switch because the css depends on it (for now)