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:
parent
73fee01c85
commit
99215f7660
4 changed files with 83 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue