45 lines
1 KiB
JSON
45 lines
1 KiB
JSON
|
{
|
||
|
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
|
||
|
// Pointez pour afficher la description des attributs existants.
|
||
|
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
|
||
|
"version": "0.2.0",
|
||
|
"configurations": [
|
||
|
{
|
||
|
"type": "lldb",
|
||
|
"request": "launch",
|
||
|
"name": "Debug executable 'tuto1'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"build",
|
||
|
"--bin=tuto1",
|
||
|
"--package=tuto1"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "tuto1",
|
||
|
"kind": "bin"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
},
|
||
|
{
|
||
|
"type": "lldb",
|
||
|
"request": "launch",
|
||
|
"name": "Debug unit tests in executable 'tuto1'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"test",
|
||
|
"--no-run",
|
||
|
"--bin=tuto1",
|
||
|
"--package=tuto1"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "tuto1",
|
||
|
"kind": "bin"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
}
|
||
|
]
|
||
|
}
|