How I Debug My Python Code

preview_player
Показать описание
📣 Other Social:
Рекомендации по теме
Комментарии
Автор

Great video I for one would love more videos on debugging and exploring libraries. Definitely going to be giving visual studio a shot.

JoshDingus
Автор

Love your videos Chris. You have been busy! :) I'd love to see more Python debug videos. I currently use PyCharm and I like it pretty well, but I'll check out VS. I use it for C#, but have had some problems getting it to work with Python in the past. Maybe with VS 2015 I'll have some better luck. Thanks again Chris.

BillWagnerMusicianTurnedDev
Автор

how did you get that path section on your right?

also, why do i get debug errors when i hit f5? what debugger should i install?

fourburnerbreakfast
Автор

Chris - off-topic and I apologize in advance for that but - have you ever explored Drupal? I learned and used it for a pretty large social media project I had to develop a few years ago. After that project I ignored it, as it is pretty bloated, but lately I've been getting back into web development and looking at the various frameworks and I gotta say, I'm thinking Drupal is the best 'swiss army knife' out there.

LearnAtMyExpense
Автор

Thanks mate very helpful. With windows subsystem for linux now released I've switched my dev stack fully over to windows from dual-boot linux/windows so am also reviewing editors etc - will definitely shift across from sublime + ipdb for debugging to VSCode. Would be great to see some examples of how you can step through code in VS. Eg can you write/edit code on the fly while in debug mode and have the app run it? Can you interact with the Request response to open it in a browser?

aaroncowper
Автор

I am not sure it's need it, the way i debug is by putting import pdb; pdb.set_trace() inside my code than i run my program than python will start pdb at the correct place, this is very effective, you can even start it with ipython.

TechWithVince
Автор

I just use gedit for simple scripts and atom for some advanced programs.
Never felt the need for using more than that.
I find Pycharm or Visual Studio cumbersome to use.
Would it help me to code faster/better if I use them? And if yes, where should I start to learn properly about them?

frcsas
Автор

would be nice, if you add the IDE name to the video title :)

lerneninverschiedenenforme
Автор

pudb is amazing for debugging in a terminal.

SuperGrimmy
Автор

Have you looked into using a cloud based IDE, like Cloud9??

beanwl
Автор

VS Code tho... pretty good now with python debugging.

hanes