Pre-requisites:
- Have webOS TV CLI downloaded by following steps in CLI Installation | webOS TV Developer
- Have https://code.visualstudio.com/ downloaded.
- Have webOS TV extension installed in VS Code & follow the below mentioned steps
Steps:
- Open VS Code.
- Your device name > Right Click > Debug.
- Local Host window will appear at the bottom right of the app
- Copy the localhost:57241 (yours will be different and be different each time you launch as debug).
- Go to chrome://inspect
- Devices > Configure > put in your localhost > Done
- Under Remote Target, your device will appear
- Click inspect and DevTools will launch.
- Issue occurs from step 8 : On clicking the “inspect” button, the debugging connection is getting lost in Chrome Dev tool and the app is getting crashed in Tv simultaneously.
On following the above steps, the app is getting crashed and error occurs in the chrome dev tool as in the below screenshot