vscode-bazel
vscode-bazel copied to clipboard
Error with `tasks.json` example in README.md
versions
| thing | version |
|---|---|
| VSCode version | 1.93.1 |
| OS | Windows 11 + WSL2 |
| VSCode Bazel Extension Version | v0.10.0 |
| Bazel Version | 7.2.1 |
intro (you can skip this)
Hey, I've got a C++ Bazel project with lots of different targets. When I want to debug a target, I manually add entries for building and running that target (w/ CodeLLDB) into my launch.json and tasks.json respectively. I then found on your README.md that your extension added some commands that can be used with VSCode's inputs (here) - and thought I might see if I could write something that uses your picker to make debugging a new test target quicker (and not require editing the launch.json/tasks.json files).
bug description
When running the example in the README, I get the the pop up to select a target, but when I actually select a target I get this error
Cannot read properties of undefined (reading 'apply')
In my case this is a project inside WSL2, but I haven't tested it on just Linux or on just Windows.