I would try to see if the piece of code that I have deployed has all the necessary dependencies that it required on my local machine. It might be possible that my local machine's environmental variables or its resource requirements might be sufficient on my local machine but when deployed it probably might not be getting the required resources that it actually requires for proper functionality. Also it might be the case that there may be some error during deployment so I will try to walk through the code that has been deployed. Those would be my tactics to try to troubleshoot without writing any extra code.
