correct parameter in calling m_onUpdate in sync-logic.cc
add -O0 -g3 in CXXFLAGS for debugging
diff --git a/wscript b/wscript
index ba0a706..6a0a629 100644
--- a/wscript
+++ b/wscript
@@ -14,6 +14,7 @@
 
 def configure(conf):
     conf.load("compiler_cxx")
+    conf.env.append_value('CXXFLAGS', ['-O0', '-g3'])
 
     if not conf.check_cfg(package='openssl', args=['--cflags', '--libs'], uselib_store='SSL', mandatory=False):
       libcrypto = conf.check_cc(lib='crypto',