librelist archives

« back to archive

debugger on App Engine

debugger on App Engine

From:
Tim Riley
Date:
2010-06-21 @ 15:55
Is there a trick to getting the debugger working on App Engine? I read
somewhere that Werkzeug's mini templates don't work, which the
debugger uses so you need to patch it somehow to use jinja2. Is this
still true?

Re: [flask] debugger on App Engine

From:
Rodrigo Moraes
Date:
2010-06-22 @ 03:40
On Mon, Jun 21, 2010 at 12:55 PM, Tim Riley wrote:
> Is there a trick to getting the debugger working on App Engine? I read
> somewhere that Werkzeug's mini templates don't work, which the
> debugger uses so you need to patch it somehow to use jinja2. Is this
> still true?

This project has a patch and Jinja2 templates to make the debugger
work (even with interactive debugger):

http://github.com/nshah/werkzeug-debugger-appengine

-- rodrigo

Re: [flask] debugger on App Engine

From:
Armin Ronacher
Date:
2010-06-21 @ 16:00
Hi,

On 6/21/10 5:55 PM, Tim Riley wrote:
> Is there a trick to getting the debugger working on App Engine? I read
> somewhere that Werkzeug's mini templates don't work, which the
> debugger uses so you need to patch it somehow to use jinja2. Is this
> still true?
Try flickzeug, the debugger in there no longer uses the mini templates. 
  But they interactive debugger will never work on appengine because the 
necessary interface does not exist there.


Regards,
Armin

Re: [flask] debugger on App Engine

From:
Date:
2010-06-22 @ 12:24
Rodrigo:

Thank you, I'll give that a try as well and see what works best. 

------Original Message------
From: Rodrigo Moraes
Sender: flask@librelist.com
To: flask@librelist.com
ReplyTo: flask@librelist.com
Subject: Re: [flask] debugger on App Engine
Sent: Jun 21, 2010 11:40 PM

On Mon, Jun 21, 2010 at 12:55 PM, Tim Riley wrote:
> Is there a trick to getting the debugger working on App Engine? I read
> somewhere that Werkzeug's mini templates don't work, which the
> debugger uses so you need to patch it somehow to use jinja2. Is this
> still true?

This project has a patch and Jinja2 templates to make the debugger
work (even with interactive debugger):

http://github.com/nshah/werkzeug-debugger-appengine

-- rodrigo


Sent via BlackBerry by AT&T

Re: [flask] debugger on App Engine

From:
Tim Riley
Date:
2010-06-21 @ 16:15
Thank you Armin.

I'm wasn't counting on the interactive debugger, I was just tired of
having to check my App Engine console on errors.

Thanks again.

On Mon, Jun 21, 2010 at 12:00 PM, Armin Ronacher
<armin.ronacher@active-4.com> wrote:
> Hi,
>
> On 6/21/10 5:55 PM, Tim Riley wrote:
>> Is there a trick to getting the debugger working on App Engine? I read
>> somewhere that Werkzeug's mini templates don't work, which the
>> debugger uses so you need to patch it somehow to use jinja2. Is this
>> still true?
> Try flickzeug, the debugger in there no longer uses the mini templates.
>  But they interactive debugger will never work on appengine because the
> necessary interface does not exist there.
>
>
> Regards,
> Armin
>