Good Spirit Graphics has recently released an update to its BreakPoint script debugging addon for Blender which now allows you to print your variable values to a log file inside your .blend file. Now you can use the find function in the text editor as a search for specific conditions. Check out the BreakPoint Addon page at Good Spirit Graphics for more information.

BreakPoint will allow you to debug your scripts, within Blender, much more easily

With BreakPoint, there is no longer a need for using an IDE when you stumble upon a bug in code. BreakPoint will allow you to debug your scripts right within Blender providing print functions for variable values, set conditional breaks in code, and is generally a better solution for debugging.