How to setup debuging for rust in VSCode

767 views Asked by At

So I am trying to get learn me some rust as part of this year's advent of code challange.

I have this setup: https://github.com/pschoffer/AdventOfCode/tree/master/2021

So each day is one subsubfolder. When I am inside some directory say: cd 2021/02. Running cargo run works just fine.

However, I would like to get the debugger to work too. When searching online I saw an extension LLDB is used for that.

I tried a few variations on the config, but I always get this or a similar error. enter image description here

My lunch config can be found here

Would love to get any input on the setup as clearly I have no idea what I am doing:)

0

There are 0 answers