add static var init
debuging cpp