The preferred way to debug Python or PySpark scripts while running on AWS is to use Notebooks on AWS Glue Studio. Step 1: Crawl the data in the Amazon S3 bucket Sign in to the AWS Management Console, and open the AWS Glue console at https://console.aws.amazon.com/glue/. Following ...