Symptom
- Would like to debug the CAP Node.js program that is deployed in BTP Cloud Foundry
- https://cap.cloud.sap/docs/tools/cds-cli#cds-debug via cds debug is not working as expected
- Manually run devtools://devtools/bundled/inspector.html?ws=localhost:9229/3066a7a6-96bf-466f-9e2a-18ef30ea7de9 in chrome leads error:
Debugging connection was closed
Reason: WebSocket disconnected.
Reconnect when ready by reopening DevTools.Reconnect DevTools
Read more...
Environment
- CAP Node.js
- BTP Cloud Foundry
- Windows Chrome
Product
SAP Cloud Application Programming Model all versions
Keywords
"Open Dedicated DevTools for Node.js" , "Reason: WebSocket disconnected", debug, node.js, cap, cf, cloud foundry , KBA , BC-XS-CDX-NJS , SAP CAP – node.js runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview