Closed brendanlawton closed 4 years ago
PHP Remote Debug is what you want, I'm working on updating based on the latest PhpStorm. I'll try to help here as well, let me know if you get stuck.
@brendanlawton be sure to check out the Chapter 4 errata, it has a few changes that are yet to be updated in the book. Specifically, xdebug.remote_connect_back
doesn't work anymore (it probably works on Linux) and the errata link shows you the updated settings. XDebug is always a bit complicated to set up:
Thanks @paulredmond 👍
Reopening until the updates are published in the book.
@paulredmond Additionally, do you think you'd be able to add instructions for VS Code? While the setup is similar to PHP Storm, there are some differences which stopped me from getting the majority of this chapter to work. It could very well be due to the fact that I haven't used xdebug before, but it can't hurt to clarify the steps given the popularity of the editor.
Let me know if you'd rather me create a new issue for this.
@shaneparsons thanks for the feedback! If you can please create another issue and detail out the issues you were having that would be greatly appreciated!
The latest QA version of the book has the latest PHPStorm instructions. Until the QA version is published you can reference the errata here to get help with newer versions of PHPStorm - https://github.com/bitpressio/docker-for-php-developers-errata/blob/master/errata.md#chapter-4-development-tools
Hi,
Chapter 4: Development Tools, page 49:
I'm running PHPStorm 2017.3, build 173-3727-138
PHP Web Application is not an available option when adding a new configuration. The available PHP options are:
*NB There are also Docker options. Would these also be useful options?