Skip to main content

Increase debugging (psdebug)

There may be times where your script/connector/task is failing, but the logs are not verbose enough to tell you where. In this case we can increase the debugging level by running the following command in an instance prompt:

  1. Obtain an Instance Prompt .

  2. Run command:

    util\psdebug -prog agtpython -level 5

This will give you logs with more detail about each process that runs with Python so that you can look deeper into where the issue lies. We use agtpython as the program because if you look within the <instance>/agent directory, there are many .exe programs contained within that folder and agtpython is the connector program that runs Python scripts for "Python script" target types. The reason we define the program instead of increasing the level for everything is because if you increase debugging for all programs and processes to level 5, your log file will be very large. If allowed to run at level 5 for a long period of time, this will fill up your log files and memory and start to impact the usability of Bravura Security Fabric .