-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for debug packages #48
Comments
a couple of options for the API:
var trace = require('block-trace')
var merry = require('merry')()
merry.debug({debug: trace}) orrrr, maybe, and this might be out there, have it as part of |
ahhhh no, do the whole var trace = require('block-trace')
var merry = require('merry')
var app = merry()
app.use(trace()) |
yep, think having a separate debug package would be good. E.g.
`app.use(require('merry-debug')({ trace: true }))`
…On Sat, Jan 14, 2017 at 6:35 PM Irina Shestak ***@***.***> wrote:
a couple of options for the API:
merry.debug(opts), which would take in an obj that's a debugging service,
e.g. :
var trace = require('block-trace')var merry = require('merry')
merry.debug({debug: trace})
orrrr, maybe, and this might be out there, have it as part of merry.env ?
I am not sure if envobj is going to like that v much but still
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACWlelk7Drc36Lbvc3o6YeSXqCHpLAd3ks5rSQd9gaJpZM4LjpUh>
.
|
yep that's probably the best solution |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd be cool if we could add support for some debug packages to make debugging services easier:
cc/ @lrlna thoughts? would this be overkill or like good to include?
The text was updated successfully, but these errors were encountered: