Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(linter): add vscode debugger launch config (#8271)
refer to this [reply](https://discord.com/channels/1079625926024900739/1080101477672046712/1265758176754794598), add CodeLLDB launch config for debugging oxlint. usage for real dev like: ```json { "type": "lldb", "request": "launch", "name": "Debug Oxlint", "cargo": { "env": { "RUSTFLAGS": "-g" }, "args": ["build", "--bin=oxlint", "--package=oxlint"], "filter": { "name": "oxlint", "kind": "bin" } }, "args": ["--ignore-pattern=./ignore/**"], "cwd": "/home/xxx/temp/oxlint-7102" } ``` besides, i tired add config in `args` to override `Cargo.toml` `[profile.dev] debug = false`, but cargo in CodeLLDB throw error. ```json "args": [ "build", "--bin=oxlint", "--package=oxlint", "--config profile.dev.debug=true" ] ``` --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
- Loading branch information