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.
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 PHP.XDebug as the debugging platform; when you select this platform the property page displays these connection settings:
|
|
Local Machine Apache Server |
In this situation, consider this configuration:
In this scenario an Analyzer Script for the connection parameters might be configured as:
|
|
Local Machine PHP.EXE |
In this scenario an Analyzer Script for the connection parameters might be configured as shown, as file paths always map to same physical path:
|
|
Remote Linux Machine Apache Server |
In this situation consider this configuration:
In this scenario an Analyzer Script for the connection parameters might be configured as:
|
|
Remote Linux Machine PHP.exe |
In this situation consider this configuration:
In this scenario an Analyzer Script for the connection parameters might be configured as:
|
Learn more
Learning Center topics
- Alt+F1 | Enterprise Architect | Build and Debug | Debug | PHP
- Alt+F1 | Enterprise Architect | Build and Debug | Debug | PHP Samples