CodeLLDB cannot find "cargo" executable #1330
Replies: 2 comments 4 replies
-
|
What happens if you run |
Beta Was this translation helpful? Give feedback.
-
|
still doesn't work. (Same result - I have tried providing the The only way I have gotten this to work (somewhat) is by creating a new vscode workspace, adding My original intention was to see if I can have one |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
OS: Ubuntu 24.04
Editor: VSCode
CodeLLDB: 1.11.6
I have the following project structure
with
advent-of-code-rustbeing the current working directory.I have the following launch.json
When I try to run
Debug day17to start debugging I get the following error`Cargo: could not find "cargo" executable.
with the LLDB output as
As far as I can understand this would indicate that Cargo executable is not being found by LLDB. I have tried providing PATH to cargo in "env" in launch.json as well. But nothing seems to work. I am not sure what the configuration needs to be for this to work. Can someone please help me out with this?
Beta Was this translation helpful? Give feedback.
All reactions