-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debug: refactor DebugService into DebugServer #11121
Comments
If we start changing those interfaces (and we should), we should really make sure to get the community on board, in particular the folks at ARM, for example. They seem to use this stuff beyond VS Code extensions. @thegecko |
Indeed, the debug services can execute in both frontend and backend contexts. If merging into a single service, it needs to:
|
I've been reading through the debugger code again. Here are a couple of observations:
These changes would not affect clients that use plugins to contribute debuggers, but only folks who override the debug service or contribute debuggers through the dependency injection mechanism. I believe the refactoring would be highly useful to make further changes in the debug module easier and the code to be of higher quality. If we go this route, we should work closely with adopters to make the change as painless as possible. |
A couple notes regarding what you wrote about:
|
The
DebugService
interface is doing too many things: it is both implemented in the frontend (PluginDebugService
) and in the backend (DebugServiceImpl
). There should be a singleDebugService
that handles multiple debugging sources as contributions. Theplugin-ext
package should not rebindDebugService
as it is currently done.The text was updated successfully, but these errors were encountered: