Follow the steps below to enable debug logging in TIBCO Data Science Team Studio:
1. Open a workflow and click on "Actions" from the top right corner.
2. Select "Preferences" from the drop down box and under Preferences click on "System".
3. In the dialog box, the user has the option to chose the log level.
4. Select "Debug" option and click on save button to enable debug logging.
Here is a GIF file that depicts the steps above: