December 19, 2013

Debugging python with vim in a virtualenv

Yay I finally got it working my debugging of a python script with Vdebug in vim
Vdebug is a vim plugin that lets you debug all kinds of scripts/languages in vim.
It supports these languages:
Python
Perl
PHP
Ruby
Node.js

At work I use it to debug Perl code and I wanted to use it to debug my python code for personal projects.

the key is: pip install  komodo-python-dbgp within your virtualenv once that is done it will create the executable pydbgp in your virtualenv. so you can launch in vim vdbug and then in the shell:
pydbgp <script>

2 comments:

gareochs said...

Iron Ingredient Spinning Rod, 3 piece - Titanium
Iron Ingredient citizen super titanium armor Spinning Rod, 3 piece - citizen titanium dive watch Titanium ecm titanium Rod - Titanium titanium granite Wood. $5.50 each. In stock 2020 ford edge titanium for sale

FjBtql1Vc28z said...

Whether you’re a beginner or a seasoned player, you’ll 카지노 사이트 find the desk game action you’re looking for at Hollywood. Harrah’s pioneered the now trade standard Total Rewards player monitoring system, first with a punchcard program launched in 1985, then with a digital program and magnetic cards within the Nineteen Nineties. Slots have been simple to trace, and stood on the very center of this system. The system grew even more subtle beneath the auspices of former CEO Gary Loveman. Loveman arrived at Harrah’s fresh from teaching at Harvard Business School, and he introduced a methodical business savvy to an trade that, in some ways, had spent a long time winging it.