![]() ![]() ![]() I've tried to create test.php to try debugging a CLI script, but this doesn't work too, see point 1 "run" not working.Not working, I've checked 9003 port and it is allowed. I've tried to enable Listen for debug connection, enableed Xdebug extension in Google Chrome and set breakpoint on the first line, but connection was not established.But my server run scripts from directory /pub/ but if I set this directory for upload script, PhpStorm adding /pub/ to the URL and get answer 404 "Validate Xdebug" did not worked because this validator creates a test file, uploads it to the server and try run the script.Click the + to add a server configuration. In the Settings panel, expand and locate the Languages & Frameworks > PHP > Servers section. I've tried changing path mapping to path/to/local/script, path/to/remote/script, path/to/docker/script and this did not do anything. To configure PhpStorm to work with Xdebug: In your PhpStorm project, open the settings panel. "Run" test script not work with server + docker PhpStorm shows Could not open input file:/my/t.php message.Map port 9003 from container to remote host, and forward this port by SSH to localhost.Setup CLI Interpreter with remote docker. ![]() Setup remote server for deployment in PhpStorm. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |