From 48c17f176e35f06d527c1d688988225e12d268f1 Mon Sep 17 00:00:00 2001
From: Dysk0 <javiroldan98@gmail.com>
Date: Tue, 16 Apr 2024 04:45:02 +0200
Subject: [PATCH] launch.json edited

---
 .vscode/launch.json | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)

diff --git a/.vscode/launch.json b/.vscode/launch.json
index 51af5e1..18688d7 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,20 +1,21 @@
 {
-    "version": "0.2.0",
-    "configurations": [
-      {
-        "type": "pwa-node",
-        "request": "launch",
-        "name": "Next.js: Node",
-        "runtimeExecutable": "npm",
-        "runtimeArgs": ["run", "dev"],
-        "port": 9229,
-        "restart": true,
-        "console": "integratedTerminal",
-        "env": {
-          "NODE_OPTIONS": "--inspect"
-        },
-        "cwd": "${workspaceFolder}"
-      }
-    ]
-  }
-  
\ No newline at end of file
+  "version": "0.2.0",
+  "configurations": [
+    {
+      "type": "node",  // Changed from pwa-node to node
+      "request": "launch",
+      "name": "Launch Program",
+      "skipFiles": ["<node_internals>/**"],
+      "program": "${workspaceFolder}/node_modules/next/dist/bin/next",
+      "args": ["dev"],
+      "runtimeArgs": ["--inspect=9229"],
+      "port": 9229,
+      "restart": true,
+      "console": "integratedTerminal",
+      "env": {
+        "NODE_OPTIONS": "--inspect=9229"
+      },
+      "cwd": "${workspaceFolder}"
+    }
+  ]
+}
-- 
GitLab