Normally, this wouldn’t work because there is no debugger running on your IBM i, but we can create an SSH tunnel that listens on the Xdebug port on your IBM i, then relays it back to the Xdebug port on your computer. Most tools expect port 9003 (the new default in Xdebug 3) or 9000 (the old default in Xdebug 2), so it’s recommended to leave it here.īy setting the host to 127.0.0.1 (localhost/loopback), it tells Xdebug to connect back to the same computer running Xdebug (the IBM i). xdebug.client_port: The port on the computer to connect to.xdebug.client_host: The computer to connect to.For example, you can specify both develop and debug mode. You can enable other Xdebug modes by separating them with a comma. Whenever it needs to debug something, Xdebug connects to a debugger listening for it. xdebug.mode: Xdebug should enable remote debugging.for remote debugging xdebug.mode=debug xdebug.client_host=127.0.0.1
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |