HH-36340 remove debug=profile and refactor debug parameters