MikoPBX development
  • MikoPBX development guide
  • Prepare IDE and system tools
    • Windows
    • Linux
    • Mac
  • Modules developement
    • How to start
    • Data model
    • Module installer class
    • Module main class
    • Module interface
    • Translations(empty)
    • Debuging
      • Configuring IDE
      • Debug PHP-AGI
      • Debug PHP Worker
      • Debug PHP Script
      • Debugging behind NAT
  • Internal structure
  • Admin interface(empty)
  • API
    • REST API
    • AMI / AJAM
    • AGI
  • Core(empty)
  • Marketplace
    • Licensing (empty)
  • Cookbook
    • Forms
      • Create module form
      • Create datatable
      • Add field into existing form
    • Asterisk
      • Hook on incoming call
      • Interact with AMI
      • Modify extensions.conf
    • Rights and auth
      • External authentication
      • Limited rights
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Modules developement
  2. Debuging

Debug PHP Script

To simplify debugging of these php script, the command has been added:

xdebug-enable 192.168.0.12

For debugging php scripts of the web interface:

xdebug-enable-www 192.168.0.12
  • 192.168.0.12 - IP address of the PC from which debugging is performed. PHP Storm should be running on the PC

  • Additionally, the Toggle Xdebug extension should be installed in the web browser

PreviousDebug PHP WorkerNextDebugging behind NAT

Last updated 3 years ago

Was this helpful?