views:

22

answers:

1

I have a Visual Studio project which uses nmake to call a Python file for clean, build, or rebuild. For ex. in VS project properties->Configuration Properties->NMake, for the Build Command Line I would have

....\blah\tools\myBuildFile.py build -arg1 -arg2

There are several python files used with lots of variables and routines so I would like a tool which I could use to step through them. Can anyone suggest a plug-in to Visual Studio which I could use to debug the Python make files?

Thanks

A: 
  1. Install winpdb
  2. Change your command to: ...\blah\winpdb.py ...\blah\tools\myBuildFile.py build -arg1 -arg2
nosklo
That works, I used python 2.7. Thanks very much!
bizmark