Fixed issue with debug files loading while running in Production mode.