• Print a message in the console:

    console.log("Debugging message");
    
  • Add a breakpoint:

    debugger;
    

Related content