debugger: Run debug scenarios from package.json (#32958)
Release Notes: - New session modal for a debugger will now show tasks from package.json as debuggable scenarios --------- Co-authored-by: Remco Smits <djsmits12@gmail.com> Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
co-authored by
Remco Smits
Anthony Eid
parent
73fee01c85
commit
99215f7660
@@ -28,7 +28,10 @@ impl DapLocator for NodeLocator {
|
||||
if adapter.0.as_ref() != "JavaScript" {
|
||||
return None;
|
||||
}
|
||||
if build_config.command != TYPESCRIPT_RUNNER_VARIABLE.template_value() {
|
||||
if build_config.command != TYPESCRIPT_RUNNER_VARIABLE.template_value()
|
||||
&& build_config.command != "composer"
|
||||
&& build_config.command != "npm"
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user