From 59c4ca9f64c4e16f77f5aec43be4d53bc262a4ab Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 2 Jan 2018 10:38:08 +0100 Subject: [PATCH] Update docs to use `Tee-Object` in PowerShell in Windows. By using `Tee-Object` you can ouput the debug log to the console and a file, which is way easier to use than just outputting to a logfile. --- website/source/docs/other/debugging.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/other/debugging.html.md b/website/source/docs/other/debugging.html.md index 2c35a820d..5d1040dbd 100644 --- a/website/source/docs/other/debugging.html.md +++ b/website/source/docs/other/debugging.html.md @@ -63,7 +63,7 @@ stdout using `&>`: $ vagrant up --debug &> vagrant.log ``` -On Windows: +On Windows in PowerShell (outputs to log and screen): ``` -$ vagrant up --debug > vagrant.log 2>&1 +$ vagrant up --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log" ```