ZeroBrane device debugging

I’m using ZeroBrane as editor with Corona, 

I’m able to debug using the simulator inserting something like this in the code:

require(“mobdebug”).start()

but when I build the .apk and run on the device I get an error on the android device, 

it says something like this (I make it shorter) :

“…init.lua:820:module ‘mobdebug’ not found:resource(mobdebug.lu) does not exist in archive…” and so on

I don’t know if it doesn’t find the mobdebug.lua because of the free version of Corona so I cannot add 3rd party libraries or because I’m doing something wrong, any Idea?

I already copy the “mobdebug.lua” file in the project folder

thanks

cheers

If you want to debug on the device, try following this tutorial.

http://notebook.kulchenko.com/zerobrane/corona-on-device-debugging-with-zerobrane-studio

Note it does things somewhat differently than the steps you described, e.g. it doesn’t call require(“mobdebug”).start(), but rather require(“mobdebug”).start(IP address of PC)

If you want to debug on the device, try following this tutorial.

http://notebook.kulchenko.com/zerobrane/corona-on-device-debugging-with-zerobrane-studio

Note it does things somewhat differently than the steps you described, e.g. it doesn’t call require(“mobdebug”).start(), but rather require(“mobdebug”).start(IP address of PC)