Debugging for output in main env