Given that the debug variable will always be set to true in the getSettings() function, this check doesn't need to happen.