1

I am making a plugin for a web page in wordpress, I need to debug a block of code, for this I must send messages to a debug file

the way i make the call is as follows

        $dbug = fopen("devDebug.txt", "a+");
        fwrite($dbug, "Ingreso email");
        fclose($dbug);

The problem is that the file is not created. It also doesn't throw an error or crash

Motias
  • 89
  • 9

0 Answers0