Skip to content
Alexander Lukyanov edited this page Apr 30, 2022 · 3 revisions

Configure PHPStorm

PHP Servers

File Settings->Languages and Frameworks->PHP Servers Add a new server with the following information: -Server Name: magento (This should be always magento)

  • Click Checkbox “Shared”
  • Host: your website host
  • Port: 8080
  • Debugger: XDebug
  • Apply Checkbox “Use Path Mappings” and use the absolute path on the server: /var/www/magento2/
  • OK to save changes

image

PHP Debug

Select File Settings->Languages and Frameworks->PHP Debug

image

Listen for Incoming Connections

image