mxochicale / code

:computer: :school_satchel: code
0 stars 0 forks source link

debugging in Python #19

Closed mxochicale closed 1 year ago

mxochicale commented 1 year ago

Would like to try some of the debugging tools posted by Andrej Karpathy: Screenshot from 2023-01-07 10-17-57 https://twitter.com/karpathy/status/1610822271157022720

then Suhail came with this "vscode debugger seems unbeatable to me rm" Screenshot from 2023-01-07 10-22-18

https://twitter.com/Suhail/status/1610823726416953346/photo/1

So, let's try code https://www.digitalocean.com/community/tutorials/how-to-debug-python-with-an-interactive-console

mxochicale commented 1 year ago

Debugging with vscode require to install python for vs which seems to be fine but requires 70MB to install such extension. Screenshot from 2023-01-07 11-01-07 but there might be a way to work around this bit > posible https://code.visualstudio.com/docs/python/debugging but maybe another time. I am happy with code.interact(local=locals()) :)