
### DISCLAIMER > As of 6th March 2025, debugger is still in development. We plan to merge it behind a staff-only feature flag for staff use only, followed by non-public release and then finally a public one (akin to how Git panel release was handled). This is done to ensure the best experience when it gets released. ### END OF DISCLAIMER **The current state of the debugger implementation:** https://github.com/user-attachments/assets/c4deff07-80dd-4dc6-ad2e-0c252a478fe9 https://github.com/user-attachments/assets/e1ed2345-b750-4bb6-9c97-50961b76904f ---- All the todo's are in the following channel, so it's easier to work on this together: https://zed.dev/channel/zed-debugger-11370 If you are on Linux, you can use the following command to join the channel: ```cli zed https://zed.dev/channel/zed-debugger-11370 ``` ## Current Features - Collab - Breakpoints - Sync when you (re)join a project - Sync when you add/remove a breakpoint - Sync active debug line - Stack frames - Click on stack frame - View variables that belong to the stack frame - Visit the source file - Restart stack frame (if adapter supports this) - Variables - Loaded sources - Modules - Controls - Continue - Step back - Stepping granularity (configurable) - Step into - Stepping granularity (configurable) - Step over - Stepping granularity (configurable) - Step out - Stepping granularity (configurable) - Debug console - Breakpoints - Log breakpoints - line breakpoints - Persistent between zed sessions (configurable) - Multi buffer support - Toggle disable/enable all breakpoints - Stack frames - Click on stack frame - View variables that belong to the stack frame - Visit the source file - Show collapsed stack frames - Restart stack frame (if adapter supports this) - Loaded sources - View all used loaded sources if supported by adapter. - Modules - View all used modules (if adapter supports this) - Variables - Copy value - Copy name - Copy memory reference - Set value (if adapter supports this) - keyboard navigation - Debug Console - See logs - View output that was sent from debug adapter - Output grouping - Evaluate code - Updates the variable list - Auto completion - If not supported by adapter, we will show auto-completion for existing variables - Debug Terminal - Run custom commands and change env values right inside your Zed terminal - Attach to process (if adapter supports this) - Process picker - Controls - Continue - Step back - Stepping granularity (configurable) - Step into - Stepping granularity (configurable) - Step over - Stepping granularity (configurable) - Step out - Stepping granularity (configurable) - Disconnect - Restart - Stop - Warning when a debug session exited without hitting any breakpoint - Debug view to see Adapter/RPC log messages - Testing - Fake debug adapter - Fake requests & events --- Release Notes: - N/A --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Co-authored-by: Anthony Eid <hello@anthonyeid.me> Co-authored-by: Anthony <anthony@zed.dev> Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com> Co-authored-by: Piotr <piotr@zed.dev>
193 lines
5.6 KiB
TOML
193 lines
5.6 KiB
TOML
[package]
|
|
description = "The fast, collaborative code editor."
|
|
edition.workspace = true
|
|
name = "zed"
|
|
version = "0.179.0"
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["Zed Team <hi@zed.dev>"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "zed"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
activity_indicator.workspace = true
|
|
anyhow.workspace = true
|
|
assets.workspace = true
|
|
assistant.workspace = true
|
|
assistant2.workspace = true
|
|
assistant_context_editor.workspace = true
|
|
assistant_settings.workspace = true
|
|
assistant_tools.workspace = true
|
|
async-watch.workspace = true
|
|
audio.workspace = true
|
|
auto_update.workspace = true
|
|
auto_update_ui.workspace = true
|
|
backtrace = "0.3"
|
|
breadcrumbs.workspace = true
|
|
call.workspace = true
|
|
channel.workspace = true
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
cli.workspace = true
|
|
client.workspace = true
|
|
collab_ui.workspace = true
|
|
collections.workspace = true
|
|
command_palette.workspace = true
|
|
command_palette_hooks.workspace = true
|
|
component_preview.workspace = true
|
|
copilot.workspace = true
|
|
debugger_ui.workspace = true
|
|
debugger_tools.workspace = true
|
|
db.workspace = true
|
|
diagnostics.workspace = true
|
|
editor.workspace = true
|
|
env_logger.workspace = true
|
|
extension.workspace = true
|
|
extension_host.workspace = true
|
|
extensions_ui.workspace = true
|
|
feature_flags.workspace = true
|
|
feedback.workspace = true
|
|
file_finder.workspace = true
|
|
fs.workspace = true
|
|
futures.workspace = true
|
|
git.workspace = true
|
|
git_hosting_providers.workspace = true
|
|
git_ui.workspace = true
|
|
go_to_line.workspace = true
|
|
gpui = { workspace = true, features = ["wayland", "x11", "font-kit"] }
|
|
gpui_tokio.workspace = true
|
|
http_client.workspace = true
|
|
image_viewer.workspace = true
|
|
inline_completion_button.workspace = true
|
|
install_cli.workspace = true
|
|
journal.workspace = true
|
|
language.workspace = true
|
|
language_extension.workspace = true
|
|
language_model.workspace = true
|
|
language_models.workspace = true
|
|
language_selector.workspace = true
|
|
language_tools.workspace = true
|
|
languages = { workspace = true, features = ["load-grammars"] }
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
markdown.workspace = true
|
|
markdown_preview.workspace = true
|
|
menu.workspace = true
|
|
migrator.workspace = true
|
|
mimalloc = { version = "0.1", optional = true }
|
|
nix = { workspace = true, features = ["pthread", "signal"] }
|
|
node_runtime.workspace = true
|
|
notifications.workspace = true
|
|
outline.workspace = true
|
|
outline_panel.workspace = true
|
|
parking_lot.workspace = true
|
|
paths.workspace = true
|
|
picker.workspace = true
|
|
profiling.workspace = true
|
|
project.workspace = true
|
|
project_panel.workspace = true
|
|
project_symbols.workspace = true
|
|
prompt_store.workspace = true
|
|
proto.workspace = true
|
|
recent_projects.workspace = true
|
|
release_channel.workspace = true
|
|
remote.workspace = true
|
|
repl.workspace = true
|
|
reqwest_client.workspace = true
|
|
rope.workspace = true
|
|
search.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
session.workspace = true
|
|
settings.workspace = true
|
|
settings_ui.workspace = true
|
|
shellexpand.workspace = true
|
|
simplelog.workspace = true
|
|
smol.workspace = true
|
|
snippet_provider.workspace = true
|
|
snippets_ui.workspace = true
|
|
supermaven.workspace = true
|
|
sysinfo.workspace = true
|
|
tab_switcher.workspace = true
|
|
task.workspace = true
|
|
tasks_ui.workspace = true
|
|
telemetry.workspace = true
|
|
telemetry_events.workspace = true
|
|
terminal_view.workspace = true
|
|
theme.workspace = true
|
|
theme_extension.workspace = true
|
|
theme_selector.workspace = true
|
|
time.workspace = true
|
|
toolchain_selector.workspace = true
|
|
ui.workspace = true
|
|
url.workspace = true
|
|
urlencoding.workspace = true
|
|
util.workspace = true
|
|
uuid.workspace = true
|
|
vim.workspace = true
|
|
vim_mode_setting.workspace = true
|
|
welcome.workspace = true
|
|
workspace.workspace = true
|
|
zed_actions.workspace = true
|
|
zeta.workspace = true
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows.workspace = true
|
|
|
|
[target.'cfg(target_os = "windows")'.build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
|
|
ashpd.workspace = true
|
|
|
|
[dev-dependencies]
|
|
call = { workspace = true, features = ["test-support"] }
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
image_viewer = { workspace = true, features = ["test-support"] }
|
|
language = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|
|
terminal_view = { workspace = true, features = ["test-support"] }
|
|
tree-sitter-md.workspace = true
|
|
tree-sitter-rust.workspace = true
|
|
workspace = { workspace = true, features = ["test-support"] }
|
|
|
|
[package.metadata.bundle-dev]
|
|
icon = ["resources/app-icon-dev@2x.png", "resources/app-icon-dev.png"]
|
|
identifier = "dev.zed.Zed-Dev"
|
|
name = "Zed Dev"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.bundle-nightly]
|
|
icon = ["resources/app-icon-nightly@2x.png", "resources/app-icon-nightly.png"]
|
|
identifier = "dev.zed.Zed-Nightly"
|
|
name = "Zed Nightly"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.bundle-preview]
|
|
icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"]
|
|
identifier = "dev.zed.Zed-Preview"
|
|
name = "Zed Preview"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.bundle-stable]
|
|
icon = ["resources/app-icon@2x.png", "resources/app-icon.png"]
|
|
identifier = "dev.zed.Zed"
|
|
name = "Zed"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["profiling", "zstd"]
|