Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with tasks.json example in README.md #411

Open
swedgwood opened this issue Sep 13, 2024 · 0 comments
Open

Error with tasks.json example in README.md #411

swedgwood opened this issue Sep 13, 2024 · 0 comments

Comments

@swedgwood
Copy link

swedgwood commented Sep 13, 2024

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
Screenshot 2024-09-13 105002

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant