commit debug/release mode when compiling

Signed-off-by: you <ylcaa@foxmail.com>