Output dispose only in debug mode