Add my_debug header and source file; Disable nginx DEBUG LOG; Modify Makefile and so on; Run make -B; sudo make install