Skip to content

Debugging🔗

To debug a Slurper, it has to be run, either using an async job or a direct endpoint.

Running a Slurper produce output to stdout and stderr, and theses outputs can be viewed in the exectution logs page of the async job or direct endpoint.

Thus, writing data to theses streams can help debugging the slurpers, for example by using the Python print() function.

def slurp(ctx, data_map):
    users = data_map.get("Users")
    print(users[0])  # will print the first user of the list
    return [user for user in users if user["username"] != "admin"]