support debug/release configuration