Skip to content

Debugging ​

Attach to running raclette service containers for plugin-focused backend debugging.

App and Workbench Attach Profiles ​

json
{
  "name": "[APP]",
  "type": "node",
  "request": "attach",
  "port": 9229,
  "address": "localhost",
  "restart": true,
  "sourceMaps": true,
  "localRoot": "${workspaceFolder}/plugins",
  "remoteRoot": "/app/src/appPlugins",
  "skipFiles": ["<node_internals>/**"],
  "outFiles": ["${workspaceFolder}/**/*.js"],
  "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
}
json
{
  "name": "[WB]",
  "type": "node",
  "request": "attach",
  "port": 9228,
  "address": "localhost",
  "restart": true,
  "sourceMaps": true,
  "localRoot": "${workspaceFolder}/workbench/plugins",
  "remoteRoot": "/app/src/workbenchPlugins",
  "skipFiles": ["<node_internals>/**"],
  "outFiles": ["${workspaceFolder}/**/*.js"],
  "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
}

Notes ​

  • App backend debug port: 9229.
  • Workbench backend debug port: 9228.
  • Map local plugin folders to the mounted container paths for correct source mapping.