The picture is making my head spin a bit.
I think what you are suggesting is one of either allowing Bespin to
run as a FireBug plugin of some kind, in which case it can make use of
FireBug's JS-accessible debug APIs, or somehow exposing such JS-
accessible debug APIs to arbitrary web apps (in this case, Bespin).
I'm in favor of this; I would like to see the JS environment extended
to include debugging capability, though there are presumably security
concerns that would need to be worked out. Whether this means
allowing an app to run in an existing debugger, or somehow providing
additional JS functionality to existing apps, doesn't matter too much,
I think.
The picture showing two browsers and one raw JS engine is interesting;
first, I think we want to extend the browser story to more browsers
than just Moz-based ones. :-) And I like the fact that a target here
is a non-browser environment. Being able to take advantage of the pre-
existing debuggers for non-browser environments would be fantastic,
since such debuggers are small in number today.
It also strikes me that we're talking about two separate sorts of APIs
here. One will be JS-accessible APIs to set breakpoints, peek at
stack frames, etc. Another is a wire format to be able to talk to JS
engines such as V8, or on a remote device (the Fennec story).