Skip to content

Commit

Permalink
stop debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
ethayer committed Mar 10, 2017
1 parent a24ca1f commit fd05ccd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions smartapps/ethayer/lock-manager.src/lock-manager.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,12 @@ def setAccess() {
}

def debuggerOn() {
return true
return false
}

def debugger(message) {
if (true) {
def doDebugger = debuggerOn()
if (doDebugger) {
return log.debug(message)
}
}

0 comments on commit fd05ccd

Please sign in to comment.