我有一个Docker Composer,看起来像:
version: '2.4'
services:
sql:
image: sitecore-xm1-sxa-1.9.0-sqldev:9.2.0-windowsservercore-${windows_version}
volumes:
- .\build\data\sql:C:\Data
mem_limit: 2GB
ports:
- "44010:1433"
cd:
image: sitecore-xm1-sxa-1.9.0-cd:9.2.0-windowsservercore-${windows_version}
volumes:
- .\build\data\cd:C:\inetpub\sc\App_Data\logs
- .\build\Website:C:\src
- d:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger:C:\remote_debugger:ro
- .\src:c:\unicorn\
- .\docker-specific-files:c:\docker-specific-files
ports:
- "44002:80"
expose:
- "4023"
- "4022"
- "4021"
- "4020"
links:
- sql
entrypoint: cmd /c "start /B powershell C:/sitecore/scripts/Watch-Directory.ps1 C:/src C:\inetpub\sc & powershell C:/sitecore/scripts/Watch-Directory.ps1 C:/docker-specific-files C:\inetpub\sc -ExcludeFiles @('Web.config','ConnectionStrings.config') & C:\\remote_debugger\\x64\\msvsmon.exe /noauth /anyuser /silent /nostatus /noclrwarn /nosecuritywarn /nofirewallwarn /nowowwarn /timeout:2147483646"
cm:
image: registry.valtech.dk/sitecore-xm1-sxa-1.9.0-cm:9.2.0-windowsservercore-${windows_version}
volumes:
- .\build\data\cm:C:\inetpub\sc\App_Data\logs
- .\build\Website:C:\src
- .\docker-specific-files:c:\docker-specific-files
- .\src:c:\unicorn\
- d:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger:C:\remote_debugger:ro
ports:
- "44001:80"
expose:
- "4023"
- "4022"
- "4021"
- "4020"
links:
- sql
entrypoint: cmd /c "start /B powershell C:/sitecore/scripts/Watch-Directory.ps1 C:/src C:\inetpub\sc & powershell C:/sitecore/scripts/Watch-Directory.ps1 C:/docker-specific-files C:\inetpub\sc -ExcludeFiles @('Web.config','ConnectionStrings.config') & C:\\remote_debugger\\x64\\msvsmon.exe /noauth /anyuser /silent /nostatus /noclrwarn /nosecuritywarn /nofirewallwarn /nowowwarn /timeout:2147483646"
Docker工作正常,我可以连接到它,并查看远程调试器正在运行。
但是VS找不到here
中所述的任何远程调试器。我想念什么,可能是个问题?