Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on debugging my mobile application. There is a specific requirement/issue that I am having related to a drag and drop touch interface on an iPad. I am at the trial and error phase of trying to figure out how to fix this (meaning I have no idea how to fix the issue I'm seeing).

The only way I have been able to figure out how to test my app on a mobile device is to deploy it to my azure test instance because the azure compute emulator always runs sites under This is really annoying since each deploy to azure takes 10+ minutes.

So my question is, how the heck to people do mobile development on this platform? I've have found some people suggesting I could set up a reverse proxy using fiddler to allow remote connections but so far I haven't been able to get this to work. Is there some sweet ios simulator that I haven't been able to find? Am I missing something?

share|improve this question

I'm not familiar specifically with the azure compute emulator, however setting up a reverse proxy should be fairly straightforward. I would suggest using nginx, you're config file should be this:

 server {
    listen 80;

    location / {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

*the proxy_pass should go to whatever port the emulator is running on

Ubuntu Install: sudo apt-get install nginx

Windows Install:

share|improve this answer
Thanks for your help. how would you change this to work with ssl? – Ben Jan 2 '13 at 20:27
Nginx has SSL support, you just need to link your certificates: You would probably want another server block that listens on 443, so that both http and https will work. – Sanketh Katta Jan 2 '13 at 22:31

I ended up copying/tweaking the offending code into JSfiddle from my laptop. Then I navigated to the JSfiddle on my iPad. Still a pain, but much faster than azure deploy. Helped alot!

Also this question has some helpful tips for how to debug javascript from iPad.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.