1.Please check if you add variable in the Script Task.
2.Please set breakpoint in the script of the Script Task.
The following link will be helpful:
Script Task Debugging in SQL Server Integration Services (SSIS)
Best regards,
Mona
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.