Is the flags debug-port and wait-for-client not implemented? #5

Closed
opened 2026-02-16 04:16:54 -05:00 by yindo · 2 comments
Owner

Originally created by @CarlosSLoureiro on GitHub (Jun 12, 2025).

I would like to attach my vscode debugger to the langgraph dev... I'm following the commands as mentioned here but I think it don't work...

https://langchain-ai.github.io/langgraph/cloud/reference/cli/#dev

Originally created by @CarlosSLoureiro on GitHub (Jun 12, 2025). I would like to attach my vscode debugger to the langgraph dev... I'm following the commands as mentioned here but I think it don't work... https://langchain-ai.github.io/langgraph/cloud/reference/cli/#dev
yindo closed this issue 2026-02-16 04:16:54 -05:00
Author
Owner

@hinthornw commented on GitHub (Jun 12, 2025):

I don't think it is for the JS server. That is for the debugpy integration

@hinthornw commented on GitHub (Jun 12, 2025): I don't think it is for the JS server. That is for the debugpy integration
Author
Owner

@CarlosSLoureiro commented on GitHub (Jun 12, 2025):

Anyway, I found a way to do it from my side...

But If anyone has the same question I had about how to run the debugger in LangGraph CLI from vscode. Just do it:

.vscode/launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Agent",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "agent"],
      "cwd": "${workspaceFolder}",
      "restart": true,
      "skipFiles": ["<node_internals>/**"]
    }
  ]
}

package.json

{
   ...
   "scripts": {
       "agent": "npx langgraphjs dev --config ./src/graph"
    }
}
@CarlosSLoureiro commented on GitHub (Jun 12, 2025): Anyway, I found a way to do it from my side... But If anyone has the same question I had about how to run the debugger in LangGraph CLI from vscode. Just do it: **.vscode/launch.json** ``` { "version": "0.2.0", "configurations": [ { "name": "Debug Agent", "type": "node", "request": "launch", "runtimeExecutable": "npm", "runtimeArgs": ["run", "agent"], "cwd": "${workspaceFolder}", "restart": true, "skipFiles": ["<node_internals>/**"] } ] } ``` **package.json** ``` { ... "scripts": { "agent": "npx langgraphjs dev --config ./src/graph" } } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs-api#5