 componentDefinitionQueue = []
 
 componentDebug = Meteor.settings.public?.debug?.jframework?.components ? false
+componentDebugStack = []
+_pushDebugFlag = (flag = null) ->
+    componentDebugStack.push componentDebug
+    componentDebug = flag ? componentDebug
+_popDebugFlag = ->
+    componentDebug = componentDebugStack.pop()
+
 _debugDepth = 0
 _getDebugPrefix = (component = null, tabWidth = 4) ->
     numSpaces = Math.max 0, tabWidth * _debugDepth - 1

                    stateFromRoute[stateFieldName]
                else if _.isFunction stateFieldSpec.default
                    # TODO: If the type is J.$function then use the other if-branch
                    if componentDebug then console.log _getDebugPrefix(@), "#{stateFieldName} !default()"
                    _debugDepth += 1
                    ret = stateFieldSpec.default.apply @
                    if componentDebug then console.log _getDebugPrefix(), ret
                    _debugDepth -= 1
                    ret
                else
                    stateFieldSpec.default

    delete reactSpec.props
    delete reactSpec.state
    delete reactSpec.reactives
    delete reactSpec.debug

    reactSpec.displayName = componentName

