Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

debugger: Ungate locator for JS tasks (#32495)

Cole Miller0c0933d1c07b
diff --git a/crates/project/src/debugger/locators/node.rs b/crates/project/src/debugger/locators/node.rs
index 4011454c010..2b39a9d3228 100644
--- a/crates/project/src/debugger/locators/node.rs
+++ b/crates/project/src/debugger/locators/node.rs
@@ -27,10 +27,6 @@ impl DapLocator for NodeLocator {
resolved_label: &str,
adapter: DebugAdapterName,
) -> Option<DebugScenario> {
- // TODO(debugger) fix issues with `await` breakpoint step
- if cfg!(not(debug_assertions)) {
- return None;
- }
if adapter.0.as_ref() != "JavaScript" {
return None;
}