Re: [Paste] Setting up EvalException browser debugger

10 views
Skip to first unread message

Ian Bicking

unread,
May 30, 2012, 12:49:40 PM5/30/12
to Oren Weizman, Paste Users
You shouldn't need the Alias directive; it probably means that Apache isn't sending all URLs to your application.  The EvalException middleware watches for any urls starting with /_debug and intercepts them – but only if Apache sends them on.  However you configured Apache to send some requests to your application, make sure it also sends /_debug requests to your application.


On Sat, May 19, 2012 at 10:44 PM, Oren Weizman <oren.w...@gmail.com> wrote:
Hi,

The EvalException debugger looked promising, so I've been trying to
hook it up to my application.

As a first step I followed: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Browser_Based_Debugger

The debugger showed up just fine in the browser except that it was
missing the plus.jpg icons. It turned out that it failed to find the
_debug/media folder, so I used the Apache 'Alias' directive to point
to the installed paste folder. This fixed the issue (is this the right
way to fix it?)

However, now when clicking on the 'plus.jpg' button (which calls
middleware.EvalException.showFrame) it tries to open:

'MY_URL//_debug/show_frame?tbid=2936075004&debugcount=1337475675'

and fails, giving the error:

'MY_URL//_debug/show_frame' was not found on this server.

What am I doing wrong? Any help is appreciated!

--
You received this message because you are subscribed to the Google Groups "Paste Users" group.
To post to this group, send email to paste...@googlegroups.com.
To unsubscribe from this group, send email to paste-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/paste-users?hl=en.


Oren Weizman

unread,
May 30, 2012, 1:32:15 PM5/30/12
to Ian Bicking, Paste Users

Thanks, this was indeed an issue with how my Apache is setup compared to what Paste expects.

Reply all
Reply to author
Forward
0 new messages