update debug dep

more flexible, uses stderr instead of stdout