sh install.sh # запросит root-права
Menu | Settings | PHPCli Interpreter | ...+|From Docker, Vagrant, VM, WSL, RemoteDocker Compose- Server:
New... | OK - Configuration files:
./docker-compose.yml - Service:
phpdoc OKConnect to existing container ('docker-compose exec')OK
- Server:
PHP | Servers+-
Name:
xdebug-server -
Host:
localhost -
Port:
9001 -
Debugger:
Xdebug -
Use path mappings (select if the server is remote or symlinks are used)- File/Directory: Project files -> первый (он там единственный в Project files) -> www/ -> public/
- Absolute path on the server:
/var/www/bitrix/public
-
PHP | DebugXdebug|Debug port: (добавить через запятую9001)
Run | Edit Configurations...+|PHP Remote Debug- Name:
xdebug-server - Configuration:
Filter debug connection by IDE key- Server:
xdebug-server - IDE key(session id):
PHPSTORM
- Name:
- Зеленый жучок сверху справа