diff --git a/contrib/vscode/c_cpp_properties.json b/contrib/vscode/c_cpp_properties.json new file mode 100644 index 00000000..39e93442 --- /dev/null +++ b/contrib/vscode/c_cpp_properties.json @@ -0,0 +1,9 @@ +{ + "configurations": [ + { + "compileCommands": "${workspaceFolder}/build/compile_commands.json", + "configurationProvider": "ms-vscode.cmake-tools" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/contrib/vscode/launch.json b/contrib/vscode/launch.json index f474745d..6fbd1cb0 100644 --- a/contrib/vscode/launch.json +++ b/contrib/vscode/launch.json @@ -21,5 +21,39 @@ "trace": true } }, + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "name": "Debug FNE", + "type": "cppdbg", + "request": "launch", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/build/dvmhost", + "args": ["-c", "./fne-config.yml", "--fne", "-f"], + "cwd": "${workspaceFolder}/build", + "stopAtEntry": false, + "logging": { + "moduleLoad": true, + "trace": true + } + }, + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "name": "Debug Monitor", + "type": "cppdbg", + "request": "launch", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/build/dvmmon", + "args": ["-c", "./monitor-config.yml"], + "cwd": "${workspaceFolder}/build", + "stopAtEntry": false, + "logging": { + "moduleLoad": true, + "trace": true + } + }, ] }