add more convenient adapter for making debug builds