2017-07-14 61 views
0

我將文件從Visual Studio 2017遠程調試器複製到運行nano服務器的Windows泊塢窗映像。以正確的參數在無頭模式下運行MSVSMon.exe後,沒有任何反應。沒有進程正在運行,應用程序日誌中沒有生成錯誤。爲什麼不啓動MSVSMon.exe?Docker Windows中的Visual Studio 2017遠程調試器Nanoserver容器未啓動

在官方網站(https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging#bkmk_configureService)上沒有關於如何以非交互方式將程序設置爲服務的說明。那麼,我將如何啓動這個服務,因爲nano服務器沒有用戶界面?

PS C:\debug\vs_remotetools> .\msvsmon.exe /noauth /anyuser /silent /nostatus 
/noclrwarn /nosecuritywarn /nofirewallwarn 
/nowowwarn /timeout:36000 

PS C:\debug\vs_remotetools> get-process 

Handles NPM(K) PM(K)  WS(K)  CPU(s)  Id SI ProcessName 
------- ------ -----  -----  ------  -- -- ----------- 
    0  5  1136  4752  2.20 1348 1 CExecSvc 
    0  3  1704  2900  0.09 1888 1 cmd 
    0  5  588  1936  7.19 916 1 csrss 
    0  0  0   4     0 0 Idle 
    0  18  3532  10804  5.86 992 1 lsass 
    0  42 52284  76844  9.50 596 1 powershell 
    0  43 89044  115712  17.83 1452 1 powershell 
    0  40 47668  72196  22.05 1704 1 powershell 
    0  8  1312  5004  4.36 972 1 services 
    0  2  284  1116  1.39 876 0 smss 
    0  7  1488  5720  1.42 496 1 svchost 
    0  12  1564  6104  2.53 780 1 svchost 
    0  14 10436  14828  9.08 1036 1 svchost 
    0  14  7900  16480  11.75 1068 1 svchost 
    0  9  1948  6448  1.08 1136 1 svchost 
    0  32  5864  15468  7.89 1160 1 svchost 
    0  15  4356  13252  5.52 1324 1 svchost 
    0  0  128  136  23.03  4 0 System 
    0  7  808  4116  1.95 944 1 wininit 
+0

難道類似這樣的問題? https://stackoverflow.com/questions/36420337/running-visual-studio-remote-debugger-in-windows-container-docker-managed –

回答

相關問題