On 15.09.2024 at 12:22, Ilija Tovilo wrote: > On Sat, Sep 14, 2024 at 11:44 PM Barel <barel.bare...@gmail.com> wrote: > >> So which IDE would you recommend for php-src development? I understand that >> people probably have many different preferences but I wondered if there was >> something that most php internals developers used. > > VSCode works surprisingly well, I've used it for C development for > years. I created a simple guide for setting it up, including gdb. It > shouldn't take you more than 10 minutes. [1] > > [1] http://php.github.io/php-src/introduction/ides/visual-studio-code.html
"For Windows, ymmv." Mine does not; I usually use VSCode for developing and debugging (only occassionally Visual Studio for the latter). Debugging works using "cppvsdbg" instead of "cppdbg"; besides "launch", "attach" also works fine if you have started VSCode with elevated privileges. I'm running the build steps from an external console, but integrating that in VSCode on Windows shouldn't be hard. Oh, and VSCode on Windows is also fine for developing and debugging php-src in WSL. Christoph