Timeline for Xdebug 3 on GitPod with Apache
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Nov 2, 2023 at 18:08 | history | bounty ended | Community Bot | ||
| S Nov 2, 2023 at 18:08 | history | notice removed | Community Bot | ||
| Oct 29, 2023 at 22:07 | history | edited | Sina | CC BY-SA 4.0 |
cleanup, just keep the question.
|
| Oct 29, 2023 at 22:05 | vote | accept | Sina | ||
| Oct 29, 2023 at 22:05 | answer | added | Sina | timeline score: 1 | |
| Oct 25, 2023 at 20:39 | history | edited | Sina | CC BY-SA 4.0 |
added link to Github repo
|
| S Oct 25, 2023 at 16:29 | history | bounty started | Sina | ||
| S Oct 25, 2023 at 16:29 | history | notice added | Sina | Draw attention | |
| Oct 25, 2023 at 16:27 | comment | added | Sina |
@LazyOne Thanks, updated the question. Indeed, ````xdebug.client_host = host.docker.internal`` is a likely solution in the Ubuntu docker environment of GitPod. I think github.com/tmy2017/php-ddd-cargo-sample/commit/… shows some solution via docker run --add-host host.docker.internal:host-gateway but I don't know how to implement this in my use case?
|
|
| Oct 25, 2023 at 16:25 | history | edited | Sina | CC BY-SA 4.0 |
updated based on comments, still not working
|
| Oct 25, 2023 at 13:57 | comment | added | LazyOne | 3) I'm sure that in your research you must have checked a lot of links. But just in case: does this one provide any help? gitpod.io/docs/introduction/languages/… | |
| Oct 25, 2023 at 13:50 | comment | added | LazyOne |
2) It's Xdebug that connects to debug client (VSCode in your case) and NOT other way around. That's why I think that this - port: 9003 line is not needed (as I understand it opens port from container so it can be reached from the host OS). That's why xdebug.client_host = localhost would also not good here (at least not for traditional Docker where you would normally use xdebug.client_host = host.docker.internal). Not sure what needs to be used for GitPod (do not really know how it actually works)... but Xdebug must be able to connect to your debug client/VSCode.
|
|
| Oct 25, 2023 at 13:47 | comment | added | LazyOne | "The challenge is to connect Xdebug to the webserver." What do you mean here? I believe you need to RTM on what Xdebug is and how it works. Just in case: 1) Xdebug is PHP extension. So it's already "connected to the website" since it is loaded together with other PHP extensions (if installed and configured ofc) | |
| Oct 24, 2023 at 22:37 | history | edited | LazyOne | CC BY-SA 4.0 |
Correct product name spelling/capitalisation, improved formatting
|
| Oct 23, 2023 at 10:24 | history | asked | Sina | CC BY-SA 4.0 |