Closed andrew-woosnam closed 2 years ago
Best guess is that this is happening in environments that don't trust the downloaded "GetVsDbg.ps1
" script.
This seems likely, based on the recent observation in #360 that this test VM doesn't trust (refuses to execute) the recently-included cf-ssh.ps1
script.
This theory is backed up by the hanging behavior; the last line of output printed came from DotnetCliService.PublishProjectForRemoteDebuggingAsync
(line) -- this method includes a call to wait for the powershell script to finish executing (line). Once that finishes, the installation script (GetVsDbg.ps1
) should be deleted, but we see that script still present in the file system during the hang:
Selecting the "Configure for remote debugging" option in the deployment dialog causes the app deployment to hang:
This occurs specifically in an Azure test vm built with the Visual Studio 2022 image