diff --git a/scripting/javascript/bindings/js/jsb_debugger.js b/scripting/javascript/bindings/js/jsb_debugger.js index 1e54b75ef2..3617396870 100644 --- a/scripting/javascript/bindings/js/jsb_debugger.js +++ b/scripting/javascript/bindings/js/jsb_debugger.js @@ -1,5 +1,8 @@ dbg = {}; +cc = cc || {}; +cc.log = log; + var breakpointHandler = { hit: function (frame) { var script = frame.script;