Skip to content

Commit

Permalink
Debug schema values in sublevel config:values.
Browse files Browse the repository at this point in the history
  • Loading branch information
alinex committed Nov 22, 2016
1 parent f79ba77 commit 3c13e59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ module.exports.setSchema = (path, schema, cb = -> ) ->
path = util.string.trim(path, '/').split '/'
ref = @schema
if debug.enabled
debug "set schema for #{path}:\n" + chalk.grey util.inspect schema, {depth: null}
debug "set schema for #{path}"
if debugValue.enabled
debugValue chalk.grey "#{path} schema:\n" + util.inspect schema, {depth: null}
# go into path
if path.length and path[0]
for p in path
Expand Down

0 comments on commit 3c13e59

Please sign in to comment.