
This article will deal directly with Xdebug as the debugging engine on the PHP end and Jetbrains PHPStorm 7.x as the IDE on the workstation side, but these techniques will work for other IDEs like Eclipse or Komodo, and they'll work for the Zend debugging engine as well. When you start trying to control a remote webserver with an IDE running on your local workstation though, it gets even more complicated with the network problems.

Manually download and install JetBrains Gateway app.Step-debugging is one of the key skills for any developer, and it can be baffling.

Install JetBrains Gateway using the JetBrains Toolbox App. In this case, when you open the PhpStorm welcome screen, the Remote Development option will be available immediately and you can connect to your remote server using SSH. Use PhpStorm and the enabled Remote Development Gateway plugin in it. You can use one of the following ways to launch JetBrains Gateway: It launches JetBrains Client, which is a thin client that enables you to work with your remote project. JetBrains Gateway is used as an entry point to connect to a remote server via SSH. The connection is established, the backend IDE is downloaded and the project is opened in JetBrains Client. On the next page, select the IDE version and the project you want open. On the next page, select the WSL instance and click Next. On the PhpStorm welcome screen, select Remote Development.įrom the options on the right, click New Connection. You use the latest EAP version of the backend IDE.Įnsure you have the Remote Development Gateway plugin enabled. You use the latest EAP build of JetBrains Gateway. You have at least 200 GB of available space, 8 GB RAM, and 4 CPUs.

For more information, refer to the WSL2 configuration section. You have WSL2 configured on your Windows machine. You have the Windows 10 or 11 version installed on your machine with the Ubuntu 20.04 version installed under WSL2. You can configure your IDE backend to launch directly in WSL2.īefore you start connecting to WSL, make sure the following prerequisites are met: Since working remotely became a necessity, PhpStorm offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.
