Re: Running Aurora in Debug Mode on Vagrant

2014-10-02 Thread Kevin Sweeney
You can pass flags to the underlying py.test runner: http://pytest.org/latest/usage.html For example ./pants src/test/python:all -vs will stop suppressing stdout and stderr. The help documentation is a little messed up right now due to https://groups.google.com/d/msg/pants-devel/4-x33CFhMoU/UIM

Re: Running Aurora in Debug Mode on Vagrant

2014-10-02 Thread David Pan
Hi, I have another question. Normally when I use vagrant to run aurora, and I create a job on devcluster, I can find the aurora logs one level above the sandbox of the task. Now, I am trying to run the unit tests for the aurora executor on vagrant. I was wondering where I can find the log messa

Re: Running Aurora in Debug Mode on Vagrant

2014-10-01 Thread Kevin Sweeney
Outside the vagrant environment you can use pdb (add a line like import pdb; pdb.set_trace() at the line you want a breakpoint). On Wed, Oct 1, 2014 at 6:07 PM, Kevin Sweeney wrote: > Debug logging is likely to be your best bet here. That is: liberal

Re: Running Aurora in Debug Mode on Vagrant

2014-10-01 Thread Kevin Sweeney
Debug logging is likely to be your best bet here. That is: liberal use of log.debug and making sure the executor is started with --log_to_stderr=google:DEBUG On Wed, Oct 1, 2014 at 5:31 PM, David Pan wrote: > Hi, > > I was wondering if there is a way to run Aurora in debug mode locally on > vagr