From 07daa2ca19c3d2e72f612ccf0ce6637f935f747b Mon Sep 17 00:00:00 2001
From: Abdelrahman <said.abdelrahman89@gmail.com>
Date: Tue, 24 Oct 2023 00:40:21 +0100
Subject: [PATCH] Add debug config for pakrd_test

---
 .vscode/launch.json | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/.vscode/launch.json b/.vscode/launch.json
index e609c88..64fcd97 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -54,6 +54,30 @@
                     "ignoreFailures": true
                 }
             ]
+        },
+        {
+            "name": "(gdb) Debug pakrd_test",
+            "type": "cppdbg",
+            "request": "launch",
+            "program": "${workspaceFolder}/pakrd_test",
+            "args": [],
+            "stopAtEntry": false,
+            "cwd": "${workspaceFolder}",
+            "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
+                }
+            ]
         }
     ]
 }
\ No newline at end of file