Skip to content
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

How to debug? #104

Open
RTUnit opened this issue Feb 12, 2022 · 2 comments
Open

How to debug? #104

RTUnit opened this issue Feb 12, 2022 · 2 comments

Comments

@RTUnit
Copy link

RTUnit commented Feb 12, 2022

I have successfully built wgt and deployed on Tizen TV using CLI. But the app has a problem during playback of video and I would like to debug it. The problem does not occur when I connect to Jellyfin Web server and run video using Browser app from TV.

sdb shell command does not work (response "closed").

I tried to include Chii debugger in the app (recommended here), but for unknown reason it does not register to Chii server when launched on TV.

I tried installing Tizen Studio and importing the Jellyfin.wgt, however when I run the app on emulator I get many errors so the app even does not launch. When I run on target device (TV) then I get the same error as with sdb (response "closed").

What other option I have to debug? My TV is Samsung UJ6300.

@dmitrylyzo
Copy link
Collaborator

#79
The last 0 is probably unnecessary in new Tizen Studio: "$SDB" -s $DEVICE shell 0 debug AprZAARz4r.Jellyfin 0

Also #46 (comment)

@RTUnit
Copy link
Author

RTUnit commented Feb 13, 2022

@dmitrylyzo, thank you it worked!

In fact I was missing the last number from this command, however in my case "0" in the end returned failure, and I needed to supply "300" (learned about it here). So the final command that worked for me is:

sdb shell 0 debug AprZAARz4r.Jellyfin 300

port: 7011
result: launched

Jellyfin app was launched on TV, then I executed this command:

sdb forward tcp:7011 tcp:7011

added the IP and port to the list of targets in Chrome:
image
image

accessed the IP and port in the new Chrome tab:
image

and once I clicked the link then DevTools launched and I got access to console and everything else needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants