Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. How to setup remote debugging on a remote desktop computer

How to setup remote debugging on a remote desktop computer

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiosysadmintestingdebugging
4 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marlon100
    wrote on last edited by
    #1

    Hi all, I want to setup remote debugging on a remote desktop computer. I got i working on a local network but i can't get it work on a remote desktop connection. I connect to a computer via remote desktop using MSTSC.exe running in adminstrator mode but when i can not attach a process on remote desktop computer because it can't find the computer. There are youtube videos explaining on how to remote debug but i can not find any info on how to set it up when connecting via remote desktop. For testing purpuses i have opened a big range of ports on my router but still cannot find the computer to attach a process. I can get access to the remote desktop computer and login as you would normally do but not via visual studio 2012 to attach to a process on that remote desktop computer. Can anyone help me please. Thanks

    L 1 Reply Last reply
    0
    • M Marlon100

      Hi all, I want to setup remote debugging on a remote desktop computer. I got i working on a local network but i can't get it work on a remote desktop connection. I connect to a computer via remote desktop using MSTSC.exe running in adminstrator mode but when i can not attach a process on remote desktop computer because it can't find the computer. There are youtube videos explaining on how to remote debug but i can not find any info on how to set it up when connecting via remote desktop. For testing purpuses i have opened a big range of ports on my router but still cannot find the computer to attach a process. I can get access to the remote desktop computer and login as you would normally do but not via visual studio 2012 to attach to a process on that remote desktop computer. Can anyone help me please. Thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      If it works on the LAN, but not to the outside, then there is probably some firewall blocking the connection.

      Marlon100 wrote:

      For testing purpuses i have opened a big range of ports

      You'll need port 135 (TCP). (Source[^])

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      M 1 Reply Last reply
      0
      • L Lost User

        If it works on the LAN, but not to the outside, then there is probably some firewall blocking the connection.

        Marlon100 wrote:

        For testing purpuses i have opened a big range of ports

        You'll need port 135 (TCP). (Source[^])

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

        M Offline
        M Offline
        Marlon100
        wrote on last edited by
        #3

        Thanks for your reply. i have to give some more info about de remote computer. It is a windows server running virtual session with hyper-v. I connect this computer via a remote desktop connection and the computername is somthing like: 95.128.4.19:33920. By the way i have forwarded ports 100 to 8000 just for testing on the router. In visual studio 2012 i cannot attach to a process on that machine because it can't find 95.128.4.19:33920.

        L 1 Reply Last reply
        0
        • M Marlon100

          Thanks for your reply. i have to give some more info about de remote computer. It is a windows server running virtual session with hyper-v. I connect this computer via a remote desktop connection and the computername is somthing like: 95.128.4.19:33920. By the way i have forwarded ports 100 to 8000 just for testing on the router. In visual studio 2012 i cannot attach to a process on that machine because it can't find 95.128.4.19:33920.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Can you ping the remote computer if you use only the IP-address? I think that the port would be blocked on the server; I don't think these are available over the internet by default.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups