Skip to content

Instantly share code, notes, and snippets.

@htammen
Created March 3, 2021 16:15
Show Gist options
  • Save htammen/551bcb20345c5fccbc42a038b56b006d to your computer and use it in GitHub Desktop.
Save htammen/551bcb20345c5fccbc42a038b56b006d to your computer and use it in GitHub Desktop.

How to debug XSA application running on HXE

This readme describes how to debug an application that is deployed to a HXE instance of the HANA XSA.

  • xs enable-debugging fsdmds_ht-srv (This is an example. Enter the name of the app you want to debug. These can be found via xs a
  • In Chrome call chrome://inspect
  • Click "Open dedicated DevTools for Node"
  • Menu: Connection -> Choose 'Add connection' and enter 'localhost:<port>' You got the port from the first command.
  • Menu: Console -> Shows all console logs
  • Menu: Sources -> Open any source file and set breakpoints (Hint: use Ctlr-P to search a file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment