Open roele opened 1 year ago
Describe the bug Unable to debug runtime action from vscode because of invalid '.vscode/launch.json' (similar to #244)
The generated .vscode/launch.json look like this (note the wrong envFile property).
{ "configurations": [ { "type": "pwa-node", "name": "Action:wknd-spa-react-0.1.0/ssr", "request": "launch", "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/wskdebug", "envFile": "${workspaceFolder}//Users/johndoe/Downloads/aem-guides-wknd-spa.react.ssr/ui.frontend/dist/application/.env.local", "timeout": 30000, "killBehavior": "polite", "localRoot": "${workspaceFolder}", "remoteRoot": "/code", "outputCapture": "std", "attachSimplePort": 0, "runtimeArgs": [ "wknd-spa-react-0.1.0/ssr", "${workspaceFolder}/actions/ssr/index.js", "-v", "--disable-concurrency", "--kind", "nodejs:10" ] } ], "compounds": [ { "name": "Actions", "configurations": [ "Action:wknd-spa-react-0.1.0/ssr" ] } ] }
To Reproduce Steps to reproduce the behavior:
ui.frontend/README.md
npm run build-with-ssr
npm run start-ssr-ioruntime
Expected behavior Debugger attaches without any errors.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
Describe the bug Unable to debug runtime action from vscode because of invalid '.vscode/launch.json' (similar to #244)
The generated .vscode/launch.json look like this (note the wrong envFile property).
To Reproduce Steps to reproduce the behavior:
ui.frontend/README.md
to debug AEM SSR via local Docker image of OpenWhisknpm run build-with-ssr
npm run start-ssr-ioruntime
Expected behavior Debugger attaches without any errors.
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.