ide-cd: move debug defines into header