Would also love to hear the answer to this, I am currently using 4 different IDEs on different projects and would love to reduce this as much as possible.
For pure lua debugging I use Tom Blind extension. Works perfectly with lua 5.1-5.3 and has a comfortable set of possibilities. I used it to develop whole narrator library.
Unfortunately, I don’t know how to connect it to a Defold game right now, but it can be realistic. It has custom environment settings and an example how to run it with love2d or busted. I think that needs to check for ability to setup with bob?