Re: [Haskell-cafe] debugging snap app

2 views
Skip to first unread message

Gregory Collins

unread,
Jan 11, 2012, 4:53:53 AM1/11/12
to Eric Wong, sn...@snapframework.com
On Wed, Jan 11, 2012 at 8:26 AM, Eric Wong <wsy...@gmail.com> wrote:
Hi,

I'm trying to get the debugging messages in snap-server in order to find the socket leaking in my snap app. I find the doc on snapframework.com says that setting an environment variable DEBUG=1 will enable the app to output the messages in stderr. But I don't get any. I installed the snap-server package using -fopenssl flag but without -fnodebug, so I think it's normal. Any idea on this?

Pass "-fdebug" when installing snap-core and it should work. Which page did you find this on? The directions are obsolete (the behaviour changed several versions ago), please let us know so we can fix them.

BTW: we have a mailing list "sn...@snapframework.com" so that these kinds of questions don't clutter haskell-cafe.

G
--
Gregory Collins <gr...@gregorycollins.net>

Gregory Collins

unread,
Jan 11, 2012, 9:00:01 AM1/11/12
to sn...@snapframework.com


---------- Forwarded message ----------
From: Eric Wong <wsy...@gmail.com>
Date: 2012/1/11
Subject: Re: [Haskell-cafe] debugging snap app
To: Gregory Collins <gr...@gregorycollins.net>





--
Gregory Collins <gr...@gregorycollins.net>
Reply all
Reply to author
Forward
0 new messages