开发者

Debug a python script used with nmake

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 a开发者_C百科re 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


  1. Install winpdb
  2. Change your command to: ...\blah\winpdb.py ...\blah\tools\myBuildFile.py build -arg1 -arg2
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜