Open the corresponding URL in your browser. To verify your Xdebug installation, follow these steps:Ĭreate a simple PHP file containing the following: Note that restarting nginx will not reload php.ini! You will need to restart PHP, or your server. Change Xdebug port to 9001 both in php.ini and in Visual Studio settings. Note: nginx server using FastCGI may block port 9000 by default. The default value is 9000 (For Xdebug 3 it's 9003) and it is usually enough just to leave it as it is. Xdebug.remote_port setting has to be the same as in PHP Tools options (in Visual Studio, Tools | Options | PHP Tools | Advanced).
0 Comments
Leave a Reply. |