-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap script for Defold #39
Comments
I'm thinking I'll add an env variable package.loaded["lldebugger"] = assert(loadfile(os.getenv("LOCAL_LUA_DEBUGGER_FILEPATH")))()
require("lldebugger").start() |
added in ae45175 |
That is much less code than I was using. Haha might not even need an extension anymore, but still going to do it for good measure. I can add in checks to not load the module if it is a release build, and ensure start doesn't fail in the case where the module is not loaded etc. Some quality of life stuff over in Defold land. |
Waiting for the release to update my interlayer debugger as well. 👍 |
FYI: I've added a minimal setup example in the README |
This may be useful for other engines as well where the
require
statement is using custom loaders...The gist of it is:
Some of this code is working around a few bugs, strict mode, and aslant configs I have setup.
The text was updated successfully, but these errors were encountered: