Debug unit test code lens fails with a cargo linking failure #7608
Labels
A-vscode
vscode plugin issues
C-bug
Category: bug
E-has-instructions
Issue has some instructions and pointers to code to get started
S-actionable
Someone could pick this issue up and work on it right now
Hi 👋
When I click the "Debug" code lens over a unit test, it fails with a linking error:
The source of the problem is this: The
PATH
environment variable needs to include the/opt/miniconda/bin
directory. The problem is, even when I put in theenv
section inlaunch.json
, it's seems like it's not being respected because it doesn't fix the problem:OTOH, if I build the code via this launch configuration:
there isn't any linking problem and the code builds fine. So I thought I could use the
preLaunchTask
inlaunch.json
:"preLaunchTask": "rust: cargo build",
but it also is being ignored and doesn't address the linking problem.
The text was updated successfully, but these errors were encountered: