forked from zed-industries/zed
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Attach debugger + picker (#58)
* Rename StopDebugAdapters to ShutdownDebugAdapters * Remove debug config from install methods * Move requests methods to background executor * Wip attach with picker * Move find client to the first line of the method The client should always be there at this point. * Fix correctly determine when to restart While debugging an reverse request issue, the top level client did send terminated event with `restart: false` but we tried to restart the client resulting in the client never being cleaned up by us. Because before this change we always assumed if we got a json value we are going to restart the client, which is wrong. We no try to restart the client if: - restart arg is a boolean and its true - restart arg is a json value but no boolean * Clean up response to adapter * Fix clippy errors * WIP tasks * Simplified debug task schema This changes debug.json to look for adapter: adapter_name instead of and object when a user selects a debug adatper and fixes the default behavior of request (to launch) Co-authored-by: Remco Smits <djsmits12@gmail.com> * Make default and flatten work for request * Rename enum case * Remove dbg * Dismiss when candidate is not found * Add docs for why we update the process id on the config * Show error when `attach` request is selected but not supported --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
- Loading branch information
1 parent
591f6cc
commit 65cd774
Showing
17 changed files
with
582 additions
and
172 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.