37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
|
|
{
|
||
|
|
"version": "0.2.0",
|
||
|
|
"configurations": [
|
||
|
|
// For these launch configurations to work, you need to setup a GODOT
|
||
|
|
// environment variable. On mac or linux, this can be done by adding
|
||
|
|
// the following to your .zshrc, .bashrc, or .bash_profile file:
|
||
|
|
// export GODOT="/Applications/Godot.app/Contents/MacOS/Godot"
|
||
|
|
{
|
||
|
|
"name": "🧪 Debug Tests",
|
||
|
|
"type": "coreclr",
|
||
|
|
"request": "launch",
|
||
|
|
"preLaunchTask": "build",
|
||
|
|
"program": "${env:GODOT}",
|
||
|
|
"args": [
|
||
|
|
// These command line flags are used by GoDotTest to run tests.
|
||
|
|
"--run-tests",
|
||
|
|
"--quit-on-finish"
|
||
|
|
],
|
||
|
|
"cwd": "${workspaceFolder}/GodotHelper.Tests",
|
||
|
|
"stopAtEntry": false,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "🔬 Debug Current Test",
|
||
|
|
"type": "coreclr",
|
||
|
|
"request": "launch",
|
||
|
|
"preLaunchTask": "build",
|
||
|
|
"program": "${env:GODOT}",
|
||
|
|
"args": [
|
||
|
|
// These command line flags are used by GoDotTest to run tests.
|
||
|
|
"--run-tests=${fileBasenameNoExtension}",
|
||
|
|
"--quit-on-finish"
|
||
|
|
],
|
||
|
|
"cwd": "${workspaceFolder}/GodotHelper.Tests",
|
||
|
|
"stopAtEntry": false,
|
||
|
|
},
|
||
|
|
]
|
||
|
|
}
|