{ "version": "0.2.0", "configurations": [ { "name": "Debug SRS with conf/console.conf", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/cmake/build/srs-build/srs", "args": ["-c", "conf/console.conf"], "stopAtEntry": false, "cwd": "${workspaceFolder}/trunk", "environment": [], "externalConsole": false, "linux": { "MIMode": "gdb" }, "osx": { "MIMode": "lldb" }, "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ], "preLaunchTask": "build", "logging": { "engineLogging": true } }, { "name": "Debug SRS with conf/rtc.conf", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/cmake/build/srs-build/srs", "args": ["-c", "conf/rtc.conf"], "stopAtEntry": false, "cwd": "${workspaceFolder}/trunk", "environment": [], "externalConsole": false, "linux": { "MIMode": "gdb" }, "osx": { "MIMode": "lldb" }, "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ], "preLaunchTask": "build", "logging": { "engineLogging": true } }, { "name": "Debug SRS Proxy Server (Go)", "type": "go", "request": "launch", "mode": "auto", "cwd": "${workspaceFolder}/cmd/proxy", "program": "${workspaceFolder}/cmd/proxy" }, { "name": "Debug SRS (macOS, CodeLLDB) console.conf", "type": "lldb", "request": "launch", "program": "${workspaceFolder}/cmake/build/srs-build/srs", "args": ["-c", "console.conf"], "cwd": "${workspaceFolder}/trunk", "stopOnEntry": false, "terminal": "integrated", "initCommands": [ "command script import lldb.formatters.cpp.libcxx" ], "preLaunchTask": "build", "env": {}, "sourceLanguages": ["cpp"] }, { "name": "Debug SRS gtest (macOS CodeLLDB)", "type": "lldb", "request": "launch", "program": "${workspaceFolder}/cmake/build/srs-build/utest", "args": ["--gtest_filter=*${selectedText}*"], "cwd": "${workspaceFolder}/trunk", "terminal": "integrated", "initCommands": [ "command script import lldb.formatters.cpp.libcxx" ], "preLaunchTask": "build", "env": {}, "sourceLanguages": ["cpp"] }, { "name": "Debug ST (StateThreads) gtest (macOS CodeLLDB)", "type": "lldb", "request": "launch", "program": "${workspaceFolder}/cmake/build/st-build/st_utest", "args": ["--gtest_filter=*${selectedText}*"], "cwd": "${workspaceFolder}/trunk", "terminal": "integrated", "initCommands": [ "command script import lldb.formatters.cpp.libcxx" ], "preLaunchTask": "st-build", "env": {}, "sourceLanguages": ["cpp"] } ] }