How to set breakpoint in lua scripts
<p>I am writing a big project using c++. In this project, some lua scripts will be called to implement functions. Now I want to set breakpoints in lua scripts but I don't know how to do that. I would prefer something like "pdb.set_trace()" as for python. 
Any idea would be appreciated. Thanks in advance.  </p>