How to *print* variables to check bugs in an Ajax script?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/PHPhelp

Our great sponsors
  • Cloudways - Managed Cloud Hosting Platform
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • JetBrains - Developer Ecosystem Survey 2022
  • Scout APM - Less time debugging, more time building
  • xDebug

    Xdebug — Step Debugger and Debugging Aid for PHP

    There's an XDebug extension (https://xdebug.org/) for PHP that will permit you to attach a debugger. I haven't tried debugging from VsCode specifically before (I've used NetBeans and also the command-line client before), but the overall idea here is:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts