You are not logged in.

#1 2011-11-19 13:55:21

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

pyramid interactive shell (embedded)

I was wondering if there was a way to be able to bring up the web based shell on the webpage for debugging purposes? So far the only way I can bring it up if there is an error on the page.

Offline

#2 2011-11-19 14:01:54

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: pyramid interactive shell (embedded)

Check Firebug. http://getfirebug.com/

Offline

#3 2011-11-19 14:30:38

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

Re: pyramid interactive shell (embedded)

not exactly what I was after. there is an interactive python shell embedded into pyramid for debugging purposes specific to the app. you can inspect variables etc which makes it very useful. I would like to access this without having to throw an error each time.

Offline

#4 2011-11-21 20:24:01

richardmurri
Member
Registered: 2008-10-29
Posts: 39

Re: pyramid interactive shell (embedded)

You probably want pdb or ipdb for interactive debugging and being able to continue the request.  Maybe I'm not understanding the question.  If you are asking about the web debugger, you can't launch it without interrupting the request and returning a response (ie. throwing an error).

Offline

#5 2011-11-28 14:02:03

farkenell
Member
From: Australia
Registered: 2008-09-10
Posts: 26

Re: pyramid interactive shell (embedded)

richardmurri wrote:

Maybe I'm not understanding the question.  If you are asking about the web debugger, you can't launch it without interrupting the request and returning a response (ie. throwing an error).

Yeah thats what I was hoping for. I guess I'll just throw an exception each time for now. I'm not really doing any major debugging just wish to inspect variables at runtime etc. Thanks.

Offline

Board footer

Powered by FluxBB