Live data from Hacker News

Pudb – A full-screen, console-based Python debugger

pypi.python.org

21–30 of 30 posts

Re: Pudb – A full-screen, console-based Python debugger

#21
post #19

Pudb depends on the "termios" module (POSIX style tty control), whose doc says it's only available under Unix.[1] Does anyone know if there's a way to make it run on Windows (native Windows command prompt, not Cygwin)? [1] http://docs.python.org/2/library/termios.html

It's unclear why you'd want to do so, since the Windows console environment sucks. Just use Winpdb, pdb, your Python IDE or whatever.

Or ssh (putty or your favorite windows ssh) into a vagrant box and use PuDB or whatever you like.

I'm beginning to see vagrant as cygwin's competition. Not quite a killer, because you can't run windows progs from vagrant/linux like you can from cygwin, but for most cygwin scenarios vagrant with a real *nix is much nicer.

Best of both worlds, ssh into vagrant from cygwin.

Re: Pudb – A full-screen, console-based Python debugger

#23
post #17

Earlier quoted context omitted.

I read the UHH many years ago, and learned a lot of useful information from it. It's a wee bit dated, but still a fun read.

It's amazing how so much of it is still so so relevant today! (The book was published in 1994.)

That's not amazing, that's just sad.

Re: Pudb – A full-screen, console-based Python debugger

#25

I think the "Curses"[1] section in the Unix Hater's Handbook [2] applies well[3] here[3] :) [1] A reference to ncurses. [2] The book: http://web.mit.edu/~simsong/www/ugh.pdf [3] ... as in why make a UI for a constrained primitive interface such as a console....

"Curses" actually refers to "curses". "ncurses" is new curses. From Wikipedia:

“[…] ncurses is a free software emulation (clone) of the System V Release 4.0 (SVr4) curses, which was itself an enhancement over the discontinued classic 4.4 BSD curses.”

Re: Pudb – A full-screen, console-based Python debugger

#27

Cant wait to try this out in my workflow, but I really wish this was available through PIP. PDB has served me well, but having some if this information intuitively shown will be incredibly helpful.

I just installed this using pip. Is PIP something other than regular old pip?

Maybe he meant picture-in-picture?

Re: Pudb – A full-screen, console-based Python debugger

#28

Pudb depends on the "termios" module (POSIX style tty control), whose doc says it's only available under Unix.[1] Does anyone know if there's a way to make it run on Windows (native Windows command prompt, not Cygwin)? [1] http://docs.python.org/2/library/termios.html

Or you can run Linux in a VM for CLI goodness. Better yet, run Windows in a VM for security goodness.
Post reply on HN