on 2025 Mar 14 8:04 PM
Title:
CDS Debug Issue in SAP BAS - "Failed to open DevTools"
Question:
I am trying to debug my <nome_srv> service in SAP Business Application Studio (BAS) using the command:
cds debug teste-srv
However, I get the following error:
Failed to open DevTools: Command failed: google-chrome 'devtools://devtools/bundled/inspector.html?ws=localhost:9229/...' /bin/sh: 1: google-chrome: not found /bin/sh: 1: chromium-browser: not found /bin/sh: 1: chromium: not found
Debugging works fine in my local VS Code environment. Also, using the old method in BAS works, but without Chrome:
cf ssh <app> -c "kill -usr1 `pidof node`" cf ssh -N -L 9229:localhost:9229 <app>
The issue occurs specifically when using the command:
cds debug <service>
Do I need any additional configuration in BAS to make DevTools open properly?
I followed the official documentation here:
https://cap.cloud.sap/docs/tools/cds-cli#node-js-applications
Thanks in advance!
Request clarification before answering.
User | Count |
---|---|
82 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.