nextron icon indicating copy to clipboard operation
nextron copied to clipboard

fix: vscode debug

Open dlt1111 opened this issue 1 year ago • 1 comments

Fix: debug by vscode

The library execa was used error about params

This PR fixes #474

dlt1111 avatar Sep 11 '24 20:09 dlt1111

Fix: debug by vscode

The library execa was used error about params

This PR fixes #474

launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "main",
      "type": "node",
      "request": "attach",
      "port": 9292,
      "skipFiles": ["<node_internals>/**"],
      "sourceMaps": true,
      "localRoot": "${workspaceFolder}"
    },
    {
      "name": "renderer",
      "type": "chrome",
      "request": "attach",
      "port": 5858,
      "urlFilter": "http://localhost:*",
      "webRoot": "${workspaceFolder}/renderer",
      "sourceMaps": true
    }
  ],
  "compounds": [
    {
      "name": "all",
      "configurations": ["main", "renderer"]
    }
  ]
}

dlt1111 avatar Sep 11 '24 20:09 dlt1111

@saltyshiomix sir your attention needed please, this very important feature for us

verydarkmagic avatar Jan 15 '25 13:01 verydarkmagic

@dlt1111 @verydarkmagic

Sorry for late reply.

Just released [email protected] which includes this PR, could you try it if you have time!

saltyshiomix avatar Jan 16 '25 10:01 saltyshiomix

Hi, I tried, but it still did not work. Allthough this time, it did not complain about not being able to find remote debug port. I tried on barebones npx create-nextron-app app --example with-chakra-ui

verydarkmagic avatar Jan 16 '25 12:01 verydarkmagic