Enable diagnostics for .NET app
authorWoongsuk Cho <ws77.cho@samsung.com>
Fri, 10 Apr 2020 01:13:39 +0000 (10:13 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Mon, 13 Apr 2020 01:24:02 +0000 (10:24 +0900)
commit440fd9210d3216c13500675d1b7a30d14b6e674d
tree77abcb990e960edf03f0d151648b8a04ae76289e
parentb0abde2bdc5e3d0d5802b0f5ae00e7ed79cd5cc7
Enable diagnostics for .NET app

In the previous implementation, COMPlus_EnableDiagnostics is set to 0 to avoid creating clr-debug-pipe file.
But, from coreclr 3.1.0, that environment setting also affects the creation of diagnostics socket file.

To enable diagnostics at candidate process, set COMPlus_EnableDiagnostics to 1.
NativeLauncher/launcher/lib/dotnet_launcher.cc