What are the downsides of leaving automation tags in production code?

Posted by joshin4colours on Programmers See other posts from Programmers or by joshin4colours
Published on 2012-11-29T01:45:13Z Indexed on 2012/11/29 5:19 UTC
Read the original article Hit count: 309

I've been setting up debug tags for automated testing of a GWT-based web application. This involves turning on custom debug id tags/attributes for elements in the source of the app. It's a non-trivial task, particularly for larger, more complex web applications. Recently there's been some discussion of whether enabling such debug ids is a good idea to do across the board.

Currently the debug ids are only turned on in development and testing servers, not in production. There have been points raised that enabling debug ids does cause performance to take a hit, and that debug ids in production may lead to security issues.

What are benefits of doing this? Are there any significant risks for turning on debug tags in production code?

© Programmers or respective owner

Related posts about web-development

Related posts about security