debugger: Fix issues with debugging scripts from package.json (#32995)
- [x] Pass in cwd - [x] Use the appropriate package manager - [x] Don't mix up package.json and composer.json Release Notes: - debugger: Fixed wrong arguments being passed to the DAP when debugging scripts from package.json.
This commit is contained in:
parent
e914d84f00
commit
0b228ad12c
5 changed files with 182 additions and 153 deletions
|
@ -18,6 +18,7 @@ mod c;
|
|||
mod css;
|
||||
mod go;
|
||||
mod json;
|
||||
mod package_json;
|
||||
mod python;
|
||||
mod rust;
|
||||
mod tailwind;
|
||||
|
@ -25,6 +26,8 @@ mod typescript;
|
|||
mod vtsls;
|
||||
mod yaml;
|
||||
|
||||
pub(crate) use package_json::{PackageJson, PackageJsonData};
|
||||
|
||||
#[derive(RustEmbed)]
|
||||
#[folder = "src/"]
|
||||
#[exclude = "*.rs"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue