diff --git a/docs/debugging/README.md b/docs/debugging/README.md index 4c5c17b919..2994048d17 100644 --- a/docs/debugging/README.md +++ b/docs/debugging/README.md @@ -48,3 +48,13 @@ corehost The native executable prouduced by .NET CLI will produce trace output if launched with `COREHOST_TRACE=1 ./powershell`. + +CoreCLR PAL +----------- + +The native code in the CLR has debug channels to selectively output +information to the console. These are controlled by the +`PAL_DBG_CHANNELS`, e.g., `export PAL_DBG_CHANNELS="+all.all"`, as +detailed in the `dbgmsg.h` [header][]. + +[header]: https://github.com/dotnet/coreclr/blob/release/1.0.0-rc2/src/pal/src/include/pal/dbgmsg.h