I just wanted to debug back-end side in my VScode IDE
Iām using this configuration and it works:
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Meteor: Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}"
},
{
"type": "node",
"request": "launch",
"name": "Meteor: Server",
"cwd": "${workspaceRoot}/",
"runtimeExecutable": "${workspaceRoot}/.meteor/local/dev_bundle/bin/npm",
"restart": true,
"timeout": 30000,
"stopOnEntry": false,
"sourceMaps": true,
"protocol": "inspector",
"port": 9229
}
],
"compounds": [
{
"name": "Meteor: All",
"configurations": [
"Meteor: Server",
"Meteor: Chrome"
]
}
]
}