fix debug path to not be used unless debug define used