Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
The PHP Debugger
The Enterprise Architect PHP Debugger enables you to debug PHP.exe scripts. This section discusses basic setup and the various debugging scenarios that are commonly encountered; the scenarios concern themselves with the mapping of file paths, which is critical to the success of a remote debugging session.
- Script Setup
- Local Windows Machine (Apache Server)
- Local Windows Machine (PHP.exe)
- Remote Linux Machine (Apache Server)
- Remote Linux Machine (PHP.exe)
Topics:
Topic |
Detail |
See also |
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Script Setup |
An Analyzer Script is a basic requirement for debugging in Enterprise Architect; you create a script using the toolbar of the Execution Analyzer Select PHPXDebug as the debugging platform; when you select this platform the property page displays the following connection settings:
|
|
|||||||||||||||
Local Machine Apache Server |
In this situation, consider the following configuration:
In this scenario an Analyzer Script for the connection parameters might be configured as follows:
|
|
|||||||||||||||
Local Machine PHP.EXE |
In this scenario an Analyzer Script for the connection parameters might be configured as follows, as file paths always map to same physical path:
|
|
|||||||||||||||
Remote Linux Machine Apache Server |
In this situation consider the following configuration:
In this scenario an Analyzer Script for the connection parameters might be configured as follows:
|
|
|||||||||||||||
Remote Linux Machine PHP.exe |
In this situation consider the following configuration:
In this scenario an Analyzer Script for the connection parameters might be configured as follows:
|
|
Learn more:
Learning Center topics:
- (Alt+F1) | Build and Debug | Debug | PHP