How to setup server for app debugging on Mac

How to setup server for app debugging on Mac

Postby piotrnalepa » Wed Aug 21, 2013 12:47 am

hi,
I'd like to debug app using emulator, but I can't find any solution how to setup server correctly for SmartTV Alliance apps.
Can someone give some advices on that?
piotrnalepa
 
Posts: 2
Joined: Fri Aug 09, 2013 4:42 am

Re: How to setup server for app debugging on Mac

Postby SDK_STA » Wed Aug 21, 2013 12:47 am

Hi,

there should not be any need to setup anything special for debugging your app running on an HTTP server. Please clarify if we misinterpreted your question but in general, the app runs on some kind of HTTP server. Typically, you would put your app on an (e.g. Apache) HTTP server running on a separate system than the SDK emulator.
You can also run the app on an HTTP server running on the same machine as the emulator ; if you do that, you will have to refer to your local HTTP server in a special way. Instead of \"http://localhost\", the server running on your local operating system is referred to as \"http://10.0.2.2/\"

This assumes that your HTTP server is simply running on the default port 80. We have no specific instructions on how to install an HTTP server on your operating system, as this depends on factors like what (if any) server side scripting you support, etc.

Please let us know if you have more questions.
SDK_STA
 
Posts: 70
Joined: Fri Aug 09, 2013 4:31 am


Return to App development questions



cron