Debugging WSL.
--- a/wsl.rst Wed Jun 08 13:36:18 2022 +0300
+++ b/wsl.rst Wed Jun 08 13:37:25 2022 +0300
@@ -14,6 +14,8 @@
Awesome list dedicated to Windows Subsystem for Linux.
https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
Automatically Configuring WSL.
+https://docs.microsoft.com/en-us/windows/wsl/troubleshooting
+ Troubleshooting Windows Subsystem for Linux.
https://github.com/sirredbeard/Awesome-WSL
Awesome list dedicated to Windows Subsystem for Linux.
@@ -42,6 +44,7 @@
Combining user & distro::
wsl -u root -d alpine -- ls
+ wsl -u root -e sh -c "service apache status || service apache start"
https://docs.microsoft.com/en-us/windows/wsl/wsl-config
Ways to run WSL.
@@ -106,3 +109,10 @@
wsl --set-version Debian 1
+Debugging WSL
+=============
+
+https://github.com/Microsoft/WSL/blob/master/CONTRIBUTING.md
+https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/wsl.wprp
+https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1
+