Improve the deprecation for `-d` and `--debugger` slightly

The deprecation for the debugger functionality currently blows up when executed from the cli,
so this tidies this up slightly.