{ // 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": [ { "name": "Python: bproto compiler Python", "type": "debugpy", "program": "src/main.py", "console": "integratedTerminal", "args": [ "-i", "test/test_protocol.bproto", "-o", "test/python/bproto/", "-t", "python" ] }, { "name": "Pytest: Python Backend Tests", "type": "debugpy", "request": "launch", "program": "test/runner.py", "console": "integratedTerminal", }, { "name": "Tests C Debug (gdb)", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/test_runner", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}/test/backend_output/c", "environment": [], "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Set Disassembly Flavor to Intel", "text": "-gdb-set disassembly-flavor intel", "ignoreFailures": true } ], "preLaunchTask": "CMake: Build C Tests" }, { "name": "Tests C Python Integration Debug (gdb)", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/test_integration_python", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}/test/backend_output/c", "environment": [], "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Set Disassembly Flavor to Intel", "text": "-gdb-set disassembly-flavor intel", "ignoreFailures": true } ], "preLaunchTask": "CMake: Build C Tests" } ] }