How to use debug.debug() for Lua in 2.1.3?

After I upgrade cocos2d-x to 2.1.3, I found debug.debug() didn’t worked.
I’d added COCOS2D_DEBUG=1 into my win32 project, it’s only effect for print().

Who can tell me how to bring debug.debug() back?
Please~~

hi,cocos2d-x started using luajit since 2.1.3
so there are some problem about stdin within lua console
you can use lua back like older versions
you can refer my blog about this issue
http://blog.csdn.net/tanjie/article/details/9226421
by the way, recommend you using my opensource gdb-like debug tool “ldb”.it’s base on debug lib but much more powerful.
you can get it from https://github.com/tjsymbol/ldb