add way to find debug code and pre-commit hook