| 1 | == Debugging the Server on Windows == |
| 2 | |
| 3 | Using Visual Studio. Set the startup project as !ServerCore_Mentor. Do a properties on !ServerCore_Mentor and under Debugging, add "run" without the quotes in the Command Arguments edit box. |
| 4 | |
| 5 | |
| 6 | == Debugging the Server on Linux == |
| 7 | |
| 8 | Use gdb. |
| 9 | |
| 10 | |
| 11 | == Debugging the Web Server Extensions on Windows == |
| 12 | |
| 13 | The best thing here is to install the web tier first, then copy the debug DLLs to where you have the release ones. It may be good to delete the release DLLs to make sure that you aren't running them. Edit the php.ini file so that it points to the debug DLLs. |
| 14 | |
| 15 | === Apache === |
| 16 | |
| 17 | Edit httpd.conf so that it points to the debug DLLs. |
| 18 | |
| 19 | Somehow attach to the process... |
| 20 | |
| 21 | |
| 22 | === IIS === |
| 23 | |
| 24 | |
| 25 | |
| 26 | == Debugging the Web Server Extensions on Linux == |
| 27 | |