Regarding the debugging CLI/REST API, the idea sounds cool and definitely an improvement - however, my personal opinion is to develop it once we find that we miss such a tool to solve a concrete problem we experience. In other words, don’t add complexity while current tools suffice us, and once we find that for an existing problem we are missing such a tool, then design a generalized solution (which would likely look similar to the CLI/REST API being proposed).
But without a specific case to solve, I personally wouldn’t invest resources on it