Remote debugging an Azure worker role using Azure Connect, remote desktop and remote debugger, part 2

This is the second part of the “Remote debugging a Windows Azure Worker Role using Azure Connect, Remote desktop and the remote debugger”. In this part I will show you how to get the remote debugger on your worker role.

Step 2: Copy the remote debugger on your worker role instance

Start by creating a shared folder on your system, and copy the remote debugger file to it.

To do this select a folder on your system (maybe first create one) and select Properties

Click on the Sharing tab, and click the Share button.

image_thumb1_thumb

Click the Share button (you should already be in the list), and then click Done, then Close.

Copy the remote debugger files into this shared folder. You should find the remote debugger inside the Visual Studio folder. On my 64 bit machine this is in the C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\X64 folder…

Now we can create the remote desktop connection. Open the Azure portal, and go to your hosted service. Since we published the worker role you should find at least on instance… Select it:

image_thumb3_thumb

This should enable the Connect button:

image_thumb4_thumb

Click it to open the .rdp file. Accept the download by clicking the Open button.

If you get the Remote Desktop Connection warning, click on Connect.

image_thumb6_thumb

Enter your credentials (using your real username/password):

image_thumb8_thumb

Again a warning will popup:

image_thumb10_thumb

Select Yes (unless you don’t trust your own connection Smile)

Your remote desktop session should open. Minimize it because we still need to do something else…

Now we need to create a connection between the worker role instance machine and your machine.

Go back to the Azure portal and select the Virtual Network tab.

You should have the Local Endpoint installed (we did this in step 1) so you should see your computer and the role instances. To complete the connection we need to edit the role connections:

image_thumb11_thumb

This should open the Edit Endpoint Group dialog. Click on the Add button to add your local group (called MyGroup on my configuration).

image_thumb13_thumb

Click on Save.

Right-click the local endpoint (this is a little icon in the notification area of the taskbar) and select Refresh Policy. After a while this should look like this:

image_thumb14_thumb

Now go back to your remote desktop session.

Open a command prompt and ping your own machine. This might need a couple of retries until the DNS gets updated…

Open the shared folder on your machine (on my machine I do this by typing \\vaiopeter\RemoteDebugger in an explorer window).

Create a folder on the remote machine (I call it RemoteDebugger) and copy the contents of the shared folder in it.

Now we are ready to connect the debugger and start debugging…

Comments (34) -

  • sac louis vuitton

    5/16/2012 9:30:51 PM |

    le virtuels et aux simulations de tir.(lien en anglais) pour supprimer le programme de son ordinateur.?? [url=http://www.lvpascher1.com/]sac louis vuitton[/url] "L'objectif est ainsi de prendre des parts de marché à la voiture, par rapport à laquelle l'autocar représente un moyen de transport nettement plus écologique et très sécurisé".Le candidat s'est également réjoui d'avoir irrité la gauche et les syndicats en annon? [url=http://www.lvpascher1.com/]sac vuitton[/url] Celle-ci promet en effet une machine "immunisée contre les virus". [url=http://www.lvpascher1.com/]sacs louis vuitton[/url]ler l'immigration, améliorer la sécurité, changer l'Europe pour qu'elle ne soit plus une "passoire",? Je parle aussi bien à ceux qui ont voté Fran? [url=http://www.lvpascher1.com/]louis vuitton site officiel[/url]: se faire passer pour un no life?Stora :? [url=http://www.lvpascher1.com]louis vuitton pas cher[/url]Selon Dr?

  • Bill Ulicki

    9/20/2013 4:09:08 AM |

    Hi, I do believe this is an excellent site. I stumbledupon it ;) I may return once again since i have saved as a favorite it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.|

  • Restaurant Equipment

    10/15/2013 2:43:16 PM |

    It is perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I want to suggest you few interesting things or tips. Perhaps you can write next articles referring to this article. I wish to read even more things about it!|

  • psn codes

    11/21/2013 2:29:18 AM |

    This was among the best articles that I have now examine. I am just interested in how smart you are. As a result of your insite I had been in a position to take your knowledge and also implement the idea to our problem. Your blog post is the excellent answer to my very own needs. If any individual desires this kind of info I'm going make certain to advise them about your webpage. I may love to show to all your followers that they're blessed to have this type of info. We appreciated your article so much that I enjoyed it, tweeted it, subscribed, and saved it to my favorite social bookmarking web site for later reading. Again, i want to thank you for helping me with helping me resolve my issue

  • adwokat opole

    1/27/2014 8:57:04 PM |

    I in fact benefit from appraisal through taking place this website, it contains sunny blog posts. "Never fight an inert object." by P. J. O'Rourke.

  • prawnik opole

    1/27/2014 9:36:14 PM |

    A allowance plan Preteen Copy Bbs i darling surveillance her fuck...she fucks comparable its the end of the world! she needs to do further porn comparable this...

  • activate windows 7

    2/3/2014 3:27:09 PM |

    Hey Thank Ya For Making And Sharing The Very Interesting Blog Post Keep Up The Great Work! I Left A Backlink To My Activate Windows Page To Show You How To Activate Windows Enjoy!

  • Junie Russman

    2/7/2014 1:33:42 AM |

    I just couldn’t depart your site prior to suggesting that I extremely enjoyed the standard information an individual provide for your visitors? Is gonna be back frequently in order to inspect new posts

  • xbox live gratuit

    2/8/2014 11:49:52 PM |

    Hi, I can?t understand how to add your site in my rss reader. Can you Help me, please

  • porno , porno , porno , porno

    2/11/2014 3:35:32 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/11/2014 5:02:39 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/11/2014 8:43:09 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 3:04:59 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 5:50:10 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 7:21:27 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • porno , porno , porno , porno

    2/14/2014 8:17:54 AM |

    porno , porno , porno , porno , porno , porno , porno , porno ,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno,porno , porno , porno , porno

  • sex porn

    2/25/2014 4:29:56 AM |

    Magnificent web site. Lots of useful info here. I?¦m sending it to several buddies ans additionally sharing in delicious. And of course, thank you to your effort!

  • sex porn

    2/25/2014 6:25:36 AM |

    Excellent website. A lot of useful info here. I am sending it to a few pals ans also sharing in delicious. And certainly, thank you to your sweat!

  • Phone Numbers

    3/17/2014 8:03:58 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    3/20/2014 9:39:19 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    3/21/2014 1:12:38 AM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    3/25/2014 10:28:00 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/1/2014 12:57:56 AM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/3/2014 9:19:37 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/6/2014 8:58:55 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Andrew Pelt

    4/20/2014 2:35:28 AM |

    I just want to tell you that I am just all new to blogs and absolutely liked this blog. Likely I’m likely to bookmark your website . You definitely have really good stories. Thanks a lot for revealing your website page.

  • Marcelle Arno

    4/21/2014 8:17:39 AM |

    I simply want to tell you that I am very new to blogging and honestly enjoyed your web-site. Most likely I’m planning to bookmark your website . You really come with amazing stories. Thank you for sharing your website.

  • Phone Numbers

    4/27/2014 10:21:02 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • Phone Numbers

    4/28/2014 8:17:15 PM |

    The Numbers Helpline has sourced 1000's of customer service contact <a href="www.numbershelpline.co.uk/.../";>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="www.numbershelpline.co.uk/.../";>Phonenumbers</a> again.

  • windows 7 loader free download 64 bit

    4/28/2014 11:05:04 PM |

    Thank You For Sharing The Very Useful Weblog Post Keep Up The Good Work! I Posted A Back Link To My Activate Windows 7 Ultimate Posts To Share With You How To Activate Windows Enjoy!

  • fishing supplies online

    5/7/2014 9:58:34 AM |

    I cannot thank you enough for the blog article.Thanks Again. Will read on...

  • windows 7

    5/11/2014 7:10:35 PM |

    Hello Thank You For Creating And Sharing The Really Enlightening Blog Post Keep Up The Good Work!!! I Posted A Back Link To My Activate Windows 7 Ultimate 64 Bit Guide To Share With You How To Activate Windows 7 Enjoy!

  • Tereasa Fanjoy

    5/13/2014 8:43:46 PM |

    Get To Be The First To See What Pros Have Said Concerning shopping

  • Lauri Alvirez

    5/17/2014 5:10:01 AM |

    hey there and thank you for your information – I've definitely picked up anything new from right here. I did however expertise several technical points using this web site, since I experienced to reload the website lots of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I'm complaining, but sluggish loading instances times will often affect your placement in google and can damage your quality score if advertising and marketing with Adwords. Well I'm adding this RSS to my email and can look out for much more of your respective fascinating content. Ensure that you update this again very soon.|

  • Issac Maez

    5/17/2014 6:58:32 AM |

    I simply want to tell you that I'm very new to blogs and absolutely loved you're website. Probably I’m going to bookmark your site . You really come with really good posts. Thanks a bunch for sharing with us your webpage.

  • Domingo Highman

    5/17/2014 8:21:30 PM |

    Today, I went to the beach front with my children. I found a sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had to tell someone!|

  • Chasidy Bulfer

    5/17/2014 8:21:33 PM |

    What's up, of course this post is in fact fastidious and I have learned lot of things from it on the topic of blogging. thanks.|

  • Jesus Bradney

    5/17/2014 8:21:39 PM |

    Hi there, yup this post is genuinely good and I have learned lot of things from it concerning blogging. thanks.|

  • Tanner Malacara

    5/17/2014 8:22:38 PM |

    I'm gone to say to my little brother, that he should also pay a quick visit this website on regular basis to take updated from latest news update.|

  • Cruz Milosevic

    5/17/2014 8:26:45 PM |

    Hey there! I know this is somewhat off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having trouble finding one? Thanks a lot!|

  • Giuseppina Kjelland

    5/17/2014 8:38:44 PM |

    I was recommended this web site by means of my cousin. I am not certain whether this submit is written by means of him as no one else recognize such distinctive about my problem. You're incredible! Thank you!|

  • Michiko Scheuerman

    5/17/2014 8:38:51 PM |

    I was more than happy to find this page. I want to to thank you for ones time just for this wonderful read!! I definitely savored every little bit of it and i also have you bookmarked to see new things on your web site.|

  • Leonor Harabedian

    5/17/2014 8:40:04 PM |

    If you are going for best contents like myself, just visit this web site everyday for the reason that it provides quality contents, thanks|

  • Antone Eversole

    5/17/2014 8:43:21 PM |

    This is very attention-grabbing, You are an overly professional blogger. I've joined your feed and stay up for seeking more of your fantastic post. Additionally, I have shared your site in my social networks|

  • Kasey Bronson

    5/17/2014 8:43:26 PM |

    Howdy would you mind letting me know which webhost you're working with? I've loaded your blog in 3 different internet browsers and I must say this blog loads a lot quicker then most. Can you suggest a good internet hosting provider at a fair price? Kudos, I appreciate it!|

  • Santa Linzy

    5/17/2014 8:45:55 PM |

    I read this piece of writing fully regarding the comparison of newest and previous technologies, it's awesome article.|

  • Rodolfo Grennay

    5/17/2014 8:46:56 PM |

    It's a pity you don't have a donate button! I'd without a doubt donate to this fantastic blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account. I look forward to fresh updates and will share this website with my Facebook group. Chat soon!|

  • Loise Winrow

    5/18/2014 6:42:25 PM |

    First off I want to say fantastic blog! I had a quick question in which I'd like to ask if you don't mind. I was curious to find out how you center yourself and clear your thoughts before writing. I have had a difficult time clearing my mind in getting my ideas out. I do take pleasure in writing but it just seems like the first 10 to 15 minutes are usually wasted just trying to figure out how to begin. Any suggestions or hints? Thank you!|

  • Jeffrey Ellingburg

    5/18/2014 6:42:34 PM |

    If some one wants expert view on the topic of blogging then i recommend him/her to visit this website, Keep up the good work.|

  • Tracey Wohletz

    5/18/2014 6:44:15 PM |

    magnificent post, very informative. I wonder why the opposite experts of this sector do not notice this. You should continue your writing. I am confident, you have a great readers' base already!|

  • Ronnie Catanzarite

    5/18/2014 6:44:19 PM |

    I always emailed this blog post page to all my associates, because if like to read it afterward my friends will too.|

  • Sandy Stielau

    5/18/2014 6:44:40 PM |

    Hey there just wanted to give you a quick heads up. The text in your article seem to be running off the screen in Chrome. I'm not sure if this is a format issue or something to do with web browser compatibility but I thought I'd post to let you know. The style and design look great though! Hope you get the issue fixed soon. Cheers|

  • Thad Duryea

    5/18/2014 6:44:52 PM |

    great post, very informative. I ponder why the other specialists of this sector do not notice this. You should continue your writing. I'm sure, you have a great readers' base already!|

  • Tyson F. Gautreaux

    5/23/2014 4:02:02 PM |

    I just want to tell you that I am just beginner to weblog and definitely loved you're web blog. Probably I’m want to bookmark your site . You surely have great articles and reviews. Appreciate it for sharing with us your webpage.

  • Andrew Pelt

    5/23/2014 11:32:38 PM |

    I just want to mention I am new to blogs and truly savored your web-site. Almost certainly I’m likely to bookmark your site . You definitely have impressive stories. With thanks for sharing with us your web page.

  • perceraian jakarta

    6/7/2014 2:19:00 PM |

    Web yang tanggung bermanfaat, bersama menyajikan bukti yang menarik

  • Margery

    6/13/2014 4:05:37 PM |

    Hi check out this site for the lowest cost of medications and  you don't even need a prescription http://healingherbservices.com

  • Hipolito M. Wiseman

    6/20/2014 12:47:41 AM |

    I simply want to say I am just new to blogging and seriously enjoyed you're page. Probably I’m likely to bookmark your blog post . You really have wonderful writings. With thanks for revealing your webpage.

  • go to these guys

    7/3/2014 7:34:01 PM |

    I just want to mention I am just all new to blogs and truly loved this blog site. Probably I’m planning to bookmark your blog post . You certainly come with great stories. Appreciate it for revealing your webpage.

  • More Bonuses

    7/15/2014 8:25:17 AM |

    I simply want to tell you that I'm very new to blogging and certainly enjoyed this web blog. Likely I’m going to bookmark your blog post . You absolutely have remarkable article content. Cheers for sharing your web-site.

  • try this out

    7/15/2014 9:19:35 AM |

    I simply want to mention I'm newbie to blogging and site-building and truly loved you're website. Almost certainly I’m going to bookmark your website . You definitely have really good well written articles. Thanks a bunch for sharing with us your website.

  • Bennett Winsett

    7/19/2014 5:06:41 AM |

    "Dodaj komentarz" "Brak komentarzy."

Loading