Skip to content
Discussion options

You must be logged in to vote

Hi @taisso ,

I have configured one for you:

{
    "version": "0.2.0",
    "configurations": [
      {
        "type": "node",
        "request": "launch",
        "name": "Debug Adonis",
        "runtimeExecutable": "npm",
        "runtimeArgs": [
          "run",
          "devInspect"
        ],
        "internalConsoleOptions": "openOnSessionStart"
      },
      {
        "type": "node",
        "request": "attach",
        "name": "attach",
        "port": 9229
      }
    ]
  }

package.json:

  "scripts": {
    "devInspect": "node ace serve --watch --node-args=\"--inspect\"",
  }

Right, so while the first one "debug adonis" starts the server and attaches the debugger, the second on…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@taisso
Comment options

Answer selected by thetutlage
Comment options

You must be logged in to vote
1 reply
@davidharting
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants