Hello Tim, Try your setup, which seems to work great... But I would know if you have the same issue then me... In the debugger python console I get python prompt corrupted character.. Se attach screenshot...
Do you have the same issue? Richard On Thu, Feb 26, 2015 at 5:12 PM, Tim Richardson <t...@growthpath.com.au> wrote: > I use pycharm. > > Often I do some quick and dirty testing in a module file where I have code > using DAL features. > > if __name__ == "__main__": > #debug code > > and I want to run that in the normal scope of web2py, i.e. the same as -S > -M from the command line. > I set up a Pycharm debug configuration which executes web2py.py and I pass > script parameters as in this example: > > -S olap -M -R > C:\Users\tim\web2py_dev\applications\olap\modules\update_appt_summary_table.py > > I can then breakpoint within pycharm, run the pycharm console etc. > Models are initiated. > Does this help? > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.