I have packaged the service and webAPP into one ipk。 Then run on WebOS. However, the service operation will report an error. Errcode=- 1. How can I debug it. For example, check the cause of the error and where to check the console. log (“”)
You can use Node Inspector. See JavaScript Service FAQ. Thank you.
Yes, I can now view my console.log(), but I also added var lgtv = require(“./lgtv”) . This service can’t run, I don’t know why