Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


The basic concept

This is package for breakpoint debugging. Also, you can use as basics of other PHP program or PEAR package if you want because this package has necessary minimum features.

The features list

  • "php.ini"-file setting fixation feature.
  • PHP code synchronization feature.
  • Error log feature by global handler.
  • The override class feature.
  • Execution mode.

Please, read the class level document block of PEAR/BreakpointDebugging_InDebug.php.

The dependences

  • OS requires "Linux" or "Windows".
  • PHP version = 5.3.2-5.4.x
  • Requires "Mozilla Firefox" web browser, and "Windows" must be in "C:/Program Files/Mozilla Firefox/firefox.exe".
  • Requires "Xdebug extension" in case of local host. "Xdebug" extension is required because (uses breakpoint, displays for fatal error and detects infinity recursive function call).
  • Requires "Xdebug extension" if you want features of above in case of $_BreakpointDebugging_EXE_MODE = B::REMOTE mode. (optional).
  • Requires "shmop extension" if you use \BreakpointDebugging_LockByShmopRequest class. (optional).
  • Requires environment which flock() enables if you use \BreakpointDebugging_LockByFlock class. (optional).

How to sniff my code.

I customized code sniff because "which" statement indent is "PEAR" special. Therefore, default doesn't fit "IDE". Please, change following file.



protected $nonIndentingScopes = array(T_SWITCH);


protected $nonIndentingScopes = array();

Please, execute command like following.

phpcs -n <full file path>

Or, execute command like following with short cut file.

%SystemRoot%\system32\cmd.exe /k phpcs -v -n "<full file path>"


  • I have been developing yet.
  • Also, I have been testing with "BreakpointDebugging_PHPUnit".
Something went wrong with that request. Please try again.