Here is a quick debugging tip to look for syntax and other errors. SSH into the emulator and navigate to "root@qemux86:/var/log" then do "vi messages" and scroll to the end using page down. This is the emulators error log, I believe you also need to set your "logLevel": "99" in your appinfo.json file.
Just in case to exit vi type ':' then 'q' 'enter'
Also this is not a dynamic log you will need to quit and reopen to see updates as you run your app.