While I was working on How to list files inside tar in AWS S3 without downloading it? I wanted to debug tarfile to see what was happening. I'm running VSCode on Ubuntu 18.04 and I found I could just download tarfile.py to my local directory and step into the functions. That was great but then I realised it was using gzip so I downloaded and saved gzip.py locally as well. But that didn't work. Is there a better/proper way of doing this?
Asked
Active
Viewed 44 times
1
-
You already have those files. They come with Python. – user2357112 May 11 '19 at 06:02
-
But I couldn't step into them while debugging. – parsley72 May 11 '19 at 06:04
-
Are you using pdb or what? – John Zwinck May 11 '19 at 07:35
-
Whatever VSCode uses by default. – parsley72 May 11 '19 at 08:32