Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nickdavies07's avatar

Homestead and PHPStorm - Remote PHP Interpreter

Trying to set up debugging in PHPStorm but keep getting this error when adding Homestead under 'Configure Remote PHP Interpreter'.

Connection to 127.0.0.1 failed.
Failed to load identity file

Vagrant Instance Folder: C:\Users\nick.davies\Homestead Vagrant Host URL: ssh://[email protected]:2222 PHP Interpreter Path: /usr/bin/php

Any ideas what I'm doing wrong?

0 likes
1 reply
zion's avatar

Have you tried using the VM's IP-address? (192.168.10.10) Also did you set xdebug.remote_enable=1 in php.ini?

Please or to participate in this conversation.