[Core] Only send to Raygun when we're not in debug mode.