Debugging

Deploy REANA in debug mode:

1. Create the cluster with the REANA source code mounted:

$ reana-dev cluster-create --mode=debug

2. Build the component you want to debug with debugging dependencies:

$ reana-dev docker-build -b DEBUG=1 -c reana-server

3. Deploy:

$ reana-dev cluster-deploy --mode=debug

4. Add a breakpoint (using wdb) in the list workflows endpoint and call reana-client list:

    """
+   import wdb; wdb.set_trace()
    try:

5. Open the debugging session:

$ firefox http://localhost:31984

Debugging