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:44:37 +0000 (10:44 +0900)
commit986b415f86e408ac411340ae1a586bd1c486de8f
tree77abcb990e960edf03f0d151648b8a04ae76289e
parentdf72e13fc7ce38c1a86fd89dd7581989bfa036be
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