• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • General
  • Guides
  • Reviews
  • News
Hide Search

Visual Studio 2022 ((top)) — Remote Debugger

"profiles": "RemoteDebug": "commandName": "Project", "environmentVariables": "ASPNETCORE_ENVIRONMENT": "Development"

param( [Parameter(Mandatory=$true)] [string]$RemoteComputer, [string]$RemotePath = "C:\MyApp", [string]$LocalDebuggerPath = "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Remote Debugger" ) Copy-Item -Path ".\bin\Debug*" -Destination "\$RemoteComputer$RemotePath" -Recurse Start remote debugger (requires PSRemoting) Invoke-Command -ComputerName $RemoteComputer -ScriptBlock $debugger = "C:\Program Files\Microsoft Visual Studio 17.0\Common7\IDE\Remote Debugger\msvsmon.exe" Start-Process -FilePath $debugger -ArgumentList "/port:4026 /auth:windows" Connect Visual Studio (requires VS automation) Write-Host "Now connect VS to $RemoteComputer`:4026" Note : For production environments, consider using Application Insights or production debugging tools rather than remote debugging, as it impacts performance and security. remote debugger visual studio 2022

Primary Sidebar

About the Author

remote debugger visual studio 2022Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • # Bbwdraw .com
  • #02tvmoviesseries.com/
  • #1 Song In 1997
  • #2 Emu Os Com
  • #90 Middle Class Biopic

Recommended Book(s)

remote debugger visual studio 2022

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in

%!s(int=2026) © %!d(string=First Orbit)