debugger: Ungate locator for JS tasks (#32495)

Cole Miller and Anthony Eid created

Closes #ISSUE

Release Notes:

- N/A

Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Change summary

crates/project/src/debugger/locators/node.rs | 4 ----
1 file changed, 4 deletions(-)

Detailed changes

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;
         }