fit lua debugger to android and ios