]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add a standard launch file for radiusd to allow easy testing in the build tree
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 29 Jun 2022 18:59:41 +0000 (13:59 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 29 Jun 2022 19:00:10 +0000 (14:00 -0500)
.vscode/launch.json [new file with mode: 0644]

diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644 (file)
index 0000000..d90b8b6
--- /dev/null
@@ -0,0 +1,25 @@
+{
+        // 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",
+                        "program": "${workspaceFolder}/build/bin/local/radiusd",
+                        "args": [
+                                "-X",
+                                "-D",
+                                "${workspaceFolder}/share/dictionary",
+                                "-d",
+                                "${workspaceFolder}/raddb"
+                        ],
+                        "cwd": "${workspaceFolder}",
+                        "env": {
+                                "FR_LIBRARY_PATH": "${workspaceFolder}/build/lib/local/.libs"
+                        }
+                }
+        ]
+}