Tip for jest debugging from intellij with wsl

Hey guys, quick tip for enabling jest debugging from wsl on windows. Inbound connections from wsl to windows may get blocked due to the firewall so an easy way to get around this is to add an exception - following is a snippet which can be run via powershell (as admin user):

New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
1 Like