Skip to content
Ref Video
Steps
- Open Configuration
File >> Settings
or Ctrl + Alt + S
- Click
PHP
- Click on
Cli Interpreter
Button (three dots)
- Click on
+
symbol on the modal window
- Choose the PHP path(it will automatically come if set in %PATH% environment variable)
- Set Debbugger extension to the same in php.ini
C:\wamp64_v2\bin\php\php7.4.26\ext\php_xdebug-3.1.2-7.4-vc15-x86_64.dll
- Ensure
Debug
settings are correct, espescially port
- Edit
Server
. Mark port
and path
properly
- Deployment
- Settings >> Build , Execution and Deployment
- Go to
Deployment
- Set
Web server URL
including alias
- Click
Mappings
tab, Add appropriate mapping
To Debug
- Click
Run >> Edit Configuration
- Add File by clicking
+
to add a php file to enable it to be debugged
- Click 'Debug' to debug in cli
- < script url>?XDEBUG_SESSION_START=XDEBUG_ECLIPSE to run in web