adonis ace debug vscode code example
Example 1: adonis ace debug vscode
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Debug Application",
"runtimeExecutable": "node",
"runtimeArgs": [
"ace",
"serve",
"--watch"
],
"internalConsoleOptions": "openOnSessionStart"
}
]
}
Example 2: adonisjs vscode debugger
...
"scripts": {
"dev": "adonis serve --dev --debug",
}
...
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Application",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"dev"
],
"port": 9229,
"internalConsoleOptions": "openOnSessionStart"
}
]
}