Actually this should maybe be wrapped in `#if debug` as not sure we want source mapping in production? At the very least the log message should only be displayed in debug.