Note 2: this setting will enable xdebug in every request, and don't require any setup on your browser. Note 1: the last line is just a precaution, in case your computer is too slow. Make sure your PHP/Xdebug settings inside your php container contains the following options: xdebug.mode=debug Once you're done, create some breakpoints (ideally in your first index.php file), and click on the green play button to start listening for Xdebug connections. "/var/www/html/": "$/path/to/your/public/mapped/folder/" Tried: 192.168.16.1:9004 (from REMOTE_ADDR HTTP header), localhost:9004 (fallback through xdebug.client_host/xdebug.client_port) :-(` □ Could not connect to debugging client. ⚠️ Creating socket for 'localhost:9004', connect: Cannot assign requested address. ⚠️ Creating socket for 'localhost:9004', poll success, but error: Operation now in progress (29). ⚠️ Could not connect to client host discovered through HTTP headers, connecting to configured address/port: localhost:9004. When I try Xdebug I get the following errors: Creating socket for '192.168.16.1:9004', poll success, but error: Operation now in progress (29). My setup is using Docker containers on Windows 10 on the WSL and Visual Studio Code. Xdebug doesn't get a connection to VSCode. INFO: Connected to debugging client: :5902 (through xdebug.client_host/xdebug.client_port).I try to get Xdebug to work on my local machine and run into the following problem. INFO: Connecting to configured address/port: :5902. The xdebug logs looks good, but not errors, nor warnings at all. I've followed all the steps as well, but it is not working for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |