personal web log written by izabeera and dryobates

gunicorn docker pudb python debugging docker-compose

Debugging gunicorn on docker with pudb

Debugging code run in webservers like gunicorn is not very convenient. Even less convenient is debugging them running in docker. Pudb can give you comfort like GUI debugger but run in TUI remote environment.

29 Sep 2016 by dryobates

python pdb debugging

Navigating in Pdb

I often see programmers, even experienced, that tediously press "n" and "s" few hundreds of times, one after another, only to skip some for loop or get into state where loop is executed n-th time in pdb. Here is a little tip how to do it smarter.

09 Aug 2015 by dryobates

python debugging celery

Debugging python code

“Using debugger is the most primitive form of debugging” - once said my lecturer. Although it was said with pejorative intention sometimes we have to fall back to checking code with debbuger.

01 Mar 2014 by dryobates

testing debugging django browser

Preview page in browser during tests in Django

During testing django webpages it is sometimes easier preview rendered responses directly in browser then analyze html code on console. With webbrowser module it’s easy.

07 Sep 2013 by dryobates

dryobates
dryobates
Jakub Stolarski. Software engineer. I work professionally as programmer since 2005. Speeding up software development with Test Driven Development, task automation and optimization for performance are things that focus my mind from my early career up to now. If you ask me for my religion: Python, Vim and FreeBSD are my trinity ;) Email: jakub@stolarscy.com

Archive

Tag cloud