Skip to main content
Support Documentation

Troubleshooting Samsung remote debugging - Weinre

  • Aug 21, 2025 7:03 PM UTC
  • Oct 7, 2025 10:00 PM UTC
  • 0 replies
  • 104 views

Forum|alt.badge.img

Description

Guide to use remote debugging with Samsung via Weinre.

 

Prerequisites

  1. Nodejs (https://nodejs.org/en/)
  2. Weinre (https://github.com/apache/cordova-weinre) -requiresnodejs
    1. Installing Weinre. Run this command in terminal/command prompt: Screen%20Shot%202017-03-02%20at%2010.52.20%20AM.png?version=1&modificationDate=1488423167855&cacheVersion=1&api=v2
    2. Run the weinre server. Run this command in terminal/command prompt: Screen%20Shot%202017-03-02%20at%2010.54.02%20AM.png?version=1&modificationDate=1488423259699&cacheVersion=1&api=v2

Troubleshooting Guide

 

Accessing Weinre:

  1. Browse http://localhost:8081.
  2. Select the link, debug client user interface:

     

  3. The debug client page will be displayed:

 

Modifying the Appspace package to insert the remote debugging tool:

  1. Extract the Appspace SSSP package for Samsung. You will need to extract it into a few levels: AppspaceSSSP3.zip > Portrait.zip/Landscape.zip (depending on the chosen orientation) > Appspace:
  2. Edit the index.html located in the www folder, as shown below:
    Screen%20Shot%202017-03-02%20at%2011.05.16%20AM.png?version=1&modificationDate=1488424005879&cacheVersion=1&api=v2&width=350&height=250Screen%20Shot%202017-03-02%20at%2011.04.48%20AM.png?version=1&modificationDate=1488424012400&cacheVersion=1&api=v2
     
  3. Transfer the Appspace zip file (as backup) on your desktop.
  4. Select all contents in the Appspace folder and zip it. Delete the Appspace folder once the zip file has been created.
    • Only the Appspace zip file and the sssp_config.xml file should be in the landscape/portrait zip file.
  5. Modifying the SSSP file - sssp_config.xml. Change the version - by adding number behind the version (Do note that this version does not reflect on the Appspace app . This is just a file used by Samsung)
    Screen%20Shot%202017-03-02%20at%2011.15.40%20AM.png?version=1&modificationDate=1488424557170&cacheVersion=1&api=v2
  6. Copy both the Appspace.zip and the sssp_config.xml to the host server. 

  7. On the Samsung screen, change the launcher URL to point to the hosted server and launch the app.
    • If the config file was setup correctly in step (5), you should see the updated URL in the Samsung screen, as shown below:
      Screen%20Shot%202017-03-02%20at%2012.01.06%20PM.png?version=1&modificationDate=1488427274781&cacheVersion=1&api=v2&width=519&height=250
    • If you dont see this, you need to repeat step (5).

  8. When the app launches at the weinre browser, you should see this:

    Screen%20Shot%202017-03-02%20at%2012.02.07%20PM.png?version=1&modificationDate=1488427352553&cacheVersion=1&api=v2&width=406&height=250
  • The targets and the clients should be the same color (green), and you should be able to see the console, which outputs further information regarding the player, as shown below:
    Screen%20Shot%202017-03-02%20at%2012.03.42%20PM.png?version=1&modificationDate=1488427447819&cacheVersion=1&api=v2&width=336&height=250

     

Note: sometimes the weinre connection is lost. Select restart again in Appspace App.