The Remote (server) Debugger enables developers to validate code that has already been deployed on a remote server. The remote option means files located on a remote server can be debugged using the Zend Studio Debugger. Another optional addition is to debug local and remote files using the remote debugger's "Local Copy if available" option (Tools | Debug | Debug URL. When debugging remote files the Zend Studio Debugger uses the PHP version that is installed on the Remote server.
The PHP/Zend Engine and the Zend Platform Studio Server Component can typically reside together in one of two locations, either on your local drive or on your hosting server.
With Remote Debugging:
|
|
Code can be debuged internally or on a remote server. |
|
|
Debug sessions can be run online or off-line. |
|
|
Online-browser navigation can be interlinked with debugging to allow the debugger to follow a specified browser sequence. |
Remote Debugging must be enabled to debug using the server PHP/Zend Engine. Disable Remote Debugging to use the local PHP/Zend Engine.
Configuring Remote Debugging
Open the Preferences window from the main menu, select Tools | Preferences.
Select the Debug tab.
From the Debug Server Configuration area of the Debug
tab, select a Debug Mode (Server/Internal).
The debug mode setting determines the debug toolbar settings (Internal
or remote debugging).
Click OK.
These settings will be applied to the next debug session.
Note:
You can also enable/disable Remote (Server) Debugging from the Project Properties window. Typically, this is done at the time the project is created. See Setting Project Properties.
|
|
|
|
|
Related Links: |
|
|
|