Unfortunately, no. Debugging must be enabled to start generating logs. However, you can disable it again once you've addressed the issues.