![]() Found a soution that I need run this comannd in command promt export PHPIDECONFIG'serverNameservername' but there is no CLI in Denwer at all. 2) Im using docker-compose up in a terminal outside phpstorm. Iam not using a CLI debuging, trying to setup debuging for a localy stored projects. Update: Seems that if I add environment: XDEBUGCONFIG: 'remotehost192.168.1.110' PHPIDECONFIG: 'serverNamedocker-server' into my php service located inside docker-compose.yml it solves the issue but leaves me with a big question. The PHP_IDE_CONFIG environment variable is configured properly, but the specified debug server configuration doesn't exist, PhpStorm displays a warning with a link to the Servers page. at 14:51 1) yes, Im debugging web pages and yes, server name in nginx is not defined since the code is not inside a container so I have a single docker-compose for all of my projects and Im not willing to change it. The debug server configuration is specified through the PHP_IDE_CONFIG environment variable but a wrong format is used, PhpStorm displays an error message with the instructions. In this case, a warning is displayed with a link to the instruction in specifying the debug server configuration through the PHP_IDE_CONFIG environment variable. ![]() The debug server configuration is not specified through the PHP_IDE_CONFIG environment variable and $_SERVER is not defined. This works for all connections through ssh even without a tunnel. Sublime PHP Companion makes it easy to right click on functions and go to their definitions, but this shortcut brings back PHPStorms CMD-click-to-definition. In this case, PhpStorm detects the host and port from $_SERVER and suggests to create a new debug server configuration if it doesn't exist. ![]() The debug server configuration is not specified through the PHP_IDE_CONFIG environment variable. Export PHP_IDE_CONFIG="serverName=SomeName"
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |