removes debug directory