Windows 10: WSL2 with xdebug

Discus and support WSL2 with xdebug in Windows 10 Ask Insider to solve the problem; I have been trying to use xdebug with phpstorm on my machine, but I haven't been successful (yet). I hope someone here can help me. My situation: I... Discussion in 'Windows 10 Ask Insider' started by /u/YeetAwayYoink, Feb 9, 2021.

  1. WSL2 with xdebug


    I have been trying to use xdebug with phpstorm on my machine, but I haven't been successful (yet). I hope someone here can help me.

    My situation:

    I have php and xdebug installed on my WSL2 installation. Phpstorm is installed on Windows.

    My xdebug.ini is as follows:

    zend_extension="/usr/lib/php/20190902/xdebug.so" xdebug.mode=debug xdebug.discover_client_host=1 ; ubuntu2004.wsl is dynamic (https://github.com/shayne/go-wsl2-host for more info) xdebug.client_host=ubuntu2004.wsl xdebug.client_port=9003 xdebug.idekey=PHPSTORM

    For my phpstorm setup I followed this guide:https://www.jetbrains.com/help/phpstorm/configuring-xdebug.html

    I hope someone can help me. If you need more info, please tell me!

    submitted by /u/YeetAwayYoink
    [link] [comments]

    :)
     
    /u/YeetAwayYoink, Feb 9, 2021
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    WSL2 with xdebug [​IMG]


    and


    WSL2 with xdebug [​IMG]


    What I did wrong ? I have the following W10 version:

    WSL2 with xdebug [​IMG]


    Another question: am I in the the right forum ?
     
    Flaviu2, Feb 9, 2021
    #2
  3. windows10 xdebug, godaddy, html submit form, php heredoc

    Don't know if these are windows10 problems but all was okay until one of w10 updates (I think) added xdebug. Since then, godaddy has trouble providing a listing of my html and php code files. My html form submit button no longer sends me to the php server
    script. There seems to be other problems but I will wait until the rest is resolved , they may goaway .
     
    Lee and JackieNeat, Feb 9, 2021
    #3
  4. WSL2 with xdebug

    WSL2 and Environment Variables

    I am trying to install Selenium and build a python application that includes automating web page completion (login info). I would like to built the program using VSCode and WSL2. I've installed selenium in WSL2. Selenium requires a webdriver api to
    be installed and included on the system PATH in the environment variables. If I install the msedgedriver.exe for Windows, in Windows, and add it to PATH, will it work with Selenium installed on WSL2 in VSCode using Python?
     
    JohnSampson5, Feb 9, 2021
    #4
Thema:

WSL2 with xdebug

Loading...
  1. WSL2 with xdebug - Similar Threads - WSL2 xdebug

  2. Can't enable WSL2, also can't disable WSL........

    in Windows 10 Installation and Upgrade
    Can't enable WSL2, also can't disable WSL........: I decided to use WSL2, so I checked "Windows Subsystem For Linux" and the "Virtual Machine Platform" in "Windows Features". After restarting the computer, it was found that the "Virtual Machine Platform" was not properly activated, there is no information, the checkbox remain...
  3. Can't enable WSL2, also can't disable WSL........

    in Windows 10 Gaming
    Can't enable WSL2, also can't disable WSL........: I decided to use WSL2, so I checked "Windows Subsystem For Linux" and the "Virtual Machine Platform" in "Windows Features". After restarting the computer, it was found that the "Virtual Machine Platform" was not properly activated, there is no information, the checkbox remain...
  4. Can't enable WSL2, also can't disable WSL........

    in Windows 10 Software and Apps
    Can't enable WSL2, also can't disable WSL........: I decided to use WSL2, so I checked "Windows Subsystem For Linux" and the "Virtual Machine Platform" in "Windows Features". After restarting the computer, it was found that the "Virtual Machine Platform" was not properly activated, there is no information, the checkbox remain...
  5. WSL2 Cannot connect to the internet

    in Windows 10 Gaming
    WSL2 Cannot connect to the internet: Hi all,I have recently catched up and installed WSL2 on my Windows computer, but now I'm facing an internet connectivity issue that doesn't seem new. I have seen several people on diverse forums mentioning similar problems and I have tried many solutions, but nothing worked....
  6. WSL2 Cannot connect to the internet

    in Windows 10 Software and Apps
    WSL2 Cannot connect to the internet: Hi all,I have recently catched up and installed WSL2 on my Windows computer, but now I'm facing an internet connectivity issue that doesn't seem new. I have seen several people on diverse forums mentioning similar problems and I have tried many solutions, but nothing worked....
  7. I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?

    in Windows 10 Gaming
    I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?: What is the best way to have on an arm64 based Windows 11 Pro a Linux VM or WSL distribution ?I wanted to try Microsoft's own Azure Linux 3.0, so I downloaded the iso file. Hyper-V hangs when booting the VM. It seems the trick is to use only one CPU but then it's incredibly...
  8. I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?

    in Windows 10 Software and Apps
    I need an arm64 rpm based Linux distribution in either Hyper-V or WSL2?: What is the best way to have on an arm64 based Windows 11 Pro a Linux VM or WSL distribution ?I wanted to try Microsoft's own Azure Linux 3.0, so I downloaded the iso file. Hyper-V hangs when booting the VM. It seems the trick is to use only one CPU but then it's incredibly...
  9. Cannot install WSL2, consistently getting a Catastrophic Error message.

    in Windows 10 Software and Apps
    Cannot install WSL2, consistently getting a Catastrophic Error message.: Windows ® Installer. V 5.0.26100.1150 msiexec /Option Log all information, except for v and x options/log Update Options /update https://answers.microsoft.com/en-us/windows/forum/all/cannot-install-wsl2-consistently-getting-a/7aff2f61-e8b9-43d2-aec7-3b62fb8477dc
  10. Cannot install WSL2, consistently getting a Catastrophic Error message.

    in Windows 10 Gaming
    Cannot install WSL2, consistently getting a Catastrophic Error message.: Windows ® Installer. V 5.0.26100.1150 msiexec /Option Log all information, except for v and x options/log Update Options /update https://answers.microsoft.com/en-us/windows/forum/all/cannot-install-wsl2-consistently-getting-a/7aff2f61-e8b9-43d2-aec7-3b62fb8477dc