Can you add a small line explaining why you need this for both DEBUG and IN_BROWSER