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
  • Debug settings
  • Setup Deployment

Was this helpful?

Edit on GitHub
  1. Modules developement
  2. Debuging

Configuring IDE

PreviousDebugingNextDebug PHP-AGI

Last updated 3 years ago

Was this helpful?

Debug settings

Go to "Settings" - "Preferences" - "PHP" - "Debug"

Setup xDebug:

Setup Advanced settings

Go to "Settings" - "Preferences" - "PHP" - "Debug" - "DBGp Proxy"

Setup Deployment

  1. Run "Tools" - "Deployment" - "Browse Remote Hosts" to open the panel "Remote Host"

  2. Enable "Tools" - "Deployment" - "Automatic Upload"

  3. Go to "Tools" - "Deployment" - "Configuration..."

  4. Add new SFTP connection

  5. Setup mappings

Main catalogs MikoPBX

  • /storage/usbdisk1/mikopbx/custom_modules - directory for storing modules

Example of mapping settings:

Let's say a local directory with Core: /Users/alexeyportnov/project/pbx_miko/!Core

Local directory with modules: /Users/alexeyportnov/project/pbx_miko/modules,

Then the mapping settings will be as follows:

/usr/www - files

/storage/usbdisk1/mikopbx/custom_modules/ModulePhoneBook the module will be stored in this directory

Core
PhoneBook
xDebug setup PHP Storm
PhpStorm Deploiment mappings