debugClean, a ColdFusion Builder Extension to Check for Debug Free Code
Join the DZone community and get the full member experience.Join For Free
I had left in a console.log and cfdump output to file. The staging environment didn't like this one bit and laughed at my suggestion of the code being like the Mona Lisa.
So, I wrote ColdFusion Builder extension to check for debug code and called it debugClean. Its now up and downloadable on RIAForge. Full description:
Checks a file or folder for any debug code that should probably be stripped before moving to staging or production.
Looks for ColdFusion tags: - cfdump - writeDump - cflog - writeLog
The tags and functions it looks for can be configured to your taste in the _config.cfm file.
Go get it, install it and only push our production ready code!
Published at DZone with permission of Sam Farmer, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.