Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug can't find node command when vscode upgrade to 1.96.2. #236800

Open
buptyyf opened this issue Dec 22, 2024 · 1 comment
Open

Debug can't find node command when vscode upgrade to 1.96.2. #236800

buptyyf opened this issue Dec 22, 2024 · 1 comment
Assignees
Labels
new release Issues found in a recent release of VS Code

Comments

@buptyyf
Copy link

buptyyf commented Dec 22, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.96.2
  • OS Version: Darwin x64 21.6.0

Steps to Reproduce:

  1. Before vscode upgrade everything is OK. Then vscode upgrade to 1.96.2.
  2. Run And debug, show node not found. But when I run pnpm run dev is OK.
Image Image
launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Main Process",
      "type": "node",
      "request": "launch",
      "cwd": "${workspaceRoot}",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd"
      },
      "runtimeArgs": ["--sourcemap"],
      "env": {
        "REMOTE_DEBUGGING_PORT": "9222"
      },
      "outputCapture": "std",
    },
    {
      "name": "Debug Renderer Process",
      "port": 9222,
      "request": "attach",
      "type": "chrome",
      "webRoot": "${workspaceFolder}/src/renderer",
      "timeout": 60000,
      "presentation": {
        "hidden": true
      }
    }
  ],
  "compounds": [
    {
      "name": "Debug All",
      "configurations": ["Debug Main Process", "Debug Renderer Process"],
      "presentation": {
        "order": 1
      }
    }
  ]
}

@vs-code-engineering vs-code-engineering bot added the new release Issues found in a recent release of VS Code label Dec 22, 2024
@buptyyf
Copy link
Author

buptyyf commented Dec 22, 2024

Image Because of this extension? When vscode upgrade to 1.96.2, many extensions are not working. How can I fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new release Issues found in a recent release of VS Code
Projects
None yet
Development

No branches or pull requests

2 participants