84 lines
2.5 KiB
JSON
84 lines
2.5 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug wgsl_preprocessor",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
//"--manifest-path", "${workspaceFolder}/examples/testbed/Cargo.toml"
|
|
"--bin=wgsl_preprocessor",
|
|
],
|
|
"filter": {
|
|
"name": "wgsl_preprocessor",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in executable 'wgsl_preprocessor'",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--no-run",
|
|
"--bin=wgsl_preprocessor",
|
|
"--package=wgsl_preprocessor"
|
|
],
|
|
"filter": {
|
|
"name": "wgsl_preprocessor",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug specific test in executable 'wgsl_preprocessor'",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--no-run",
|
|
"--lib",
|
|
"--package=wgsl_preprocessor",
|
|
"tests::import_struct_with_imported_fields",
|
|
"--",
|
|
"--exact --nocapture"
|
|
],
|
|
"filter": {
|
|
"name": "wgsl_preprocessor",
|
|
"kind": "lib"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
/* {
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Test wgsl_preprocessor",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--bin=wgsl_preprocessor",
|
|
],
|
|
"filter": {
|
|
"name": "wgsl_preprocessor",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
} */
|
|
]
|
|
} |