#In the case of magic-script-cli v.2.2.1 or later, this correspondence is not necessary.
Prepare
Magic Leap One (Lumin OS v0.96.1)
https://www.magicleap.com/magic-leap-one
mlsdk v.0.21.0
https://creator.magicleap.com/downloads/lumin-sdk/overview
magic-script-cli v2.2.0 patch
https://www.npmjs.com/package/magic-script-cli
Example Code
Change app.js
Web inspector can not debug without overriding updateLoop.
export class App extends LandscapeApp {
onAppStart () {
...
}
// Known Issues: Web Inspector does not work unless the updateLoop function is present in source
updateLoop(delta) {
return true;
}
}
Build
magic-script build -i
Run
magic-script run --port=10000
Reference
MagicScript Inspector Client
https://www.magicscript.org/docs/inspector-client
Lumin OS v 0.96.0 Release Note
https://creator.magicleap.com/learn/guides/lumin-os-0-96-0-release-notes
Thanks!