debug: Launch custom commands from start modal (#32484)
Release Notes: - Add custom command launching from the `debug: start` modal --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
parent
e4f8c4fb4c
commit
dd17fd3d5a
6 changed files with 171 additions and 21 deletions
|
@ -22,7 +22,7 @@ impl DapLocator for PythonLocator {
|
|||
resolved_label: &str,
|
||||
adapter: DebugAdapterName,
|
||||
) -> Option<DebugScenario> {
|
||||
if adapter.as_ref() != "Debugpy" {
|
||||
if adapter.0.as_ref() != "Debugpy" {
|
||||
return None;
|
||||
}
|
||||
let valid_program = build_config.command.starts_with("$ZED_")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue