Sort debugger requests by what kind of target support they require.

Semantics-preserving refactoring for #460.