In order to trace your custom plugin or workflow activity, you will need to ensure that the correct tracing level is enabled in the system settings.
In order to change the level, navigate to the Settings | Administration | System Settings | Customization tab and level to Exception or All, as per the following screenshot:
You will also need a plugin or custom workflow activity to run.