(Only works if the dev/debug code is added in some sort of properly planned and documented way I guess.)