Added spec for debug directive