Run Apache 2.2 as one httpd.exe for debugging

I am running Apache 2.2 in console mode on Windows in order to test the apache module I am writing. By default, the parent httpd.exe starts (with one thread), which starts the child httpd.exe with the number of worker threads.

Now I have to attach a debugger to the child process every time in order to be able to debug my module.

Is there a way to configure Apache to run from a single httpd.exe? (Like the good old days, if I remember correctly) I searched the docs but didn't find anything other than limiting the number of requests processed per thread or process ...

+2


source to share


1 answer


You might want to use httpd.exe -X

one that will start apache as a single process without returning control to the terminal / cmd request.



+2


source







All Articles