Page 1 of 1

Attaching a lua debugger

Posted: Tue Feb 05, 2019 1:27 am
by moon69
It would be brilliant to allow a remote lua debugger to attach to Factorio to allow interactive debugging of mods.

I think this would really improve the life of modders to be able to interactively debug in something like Zero Brane Studio.

Typically there would need to be support for mobdebug and luasocket modules.

Any thoughts on this?

I've wondered about this for some time, but today I spent hours finding a subtle bug related to variable scope... I think it would have taken minutes instead with a debugger :)

Cheers,
Moon