Skip to content

Commit dcde632

Browse files
committed
Add more information on Logging on Windows
1 parent bbf1023 commit dcde632

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Build & Debug/Logging.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ Tools/Scripts/run-minibrowser --debug -WebCoreLogging Scrolling
103103

104104
### Windows
105105

106-
Set the `WebCoreLogging` environment variable.
106+
Set the `WTFLogging`, `WebCoreLogging` or `WebKit2Logging` environment variables.
107+
108+
It outputs logs both to stderr and `OutputDebugString` on Windows. Console applications (jsc.exe, WebKitTestRunner.exe, etc) can use stderr, but GUI applications (MiniBrowser.exe). Attach a debugger to see the message of `OutputDebugString`. Use ​[Child Process Debugging Power Tool](https://devblogs.microsoft.com/devops/introducing-the-child-process-debugging-power-tool/) to automatically attach child processes.
107109

108110
## Adding a new log channel
109111

0 commit comments

Comments
 (0)