This might help you to get additional information. Every important step or error gets logged there. Please watch Visual Studio' Output pane for details. This allows to continuously upload the locally modified filed over to the remote server upon starting the debug session. For this purpose configure the Automatic Publish section of the project properties. Usually the project is developed locally and deployed on the remote server. The server URL gets opened in the browser. Once the project is configured to debug using custom server, initiate the debugging in a standard way - either press F5 or go to Debug / Run.
The proxy configuration can be validated right on the Project Properties tab using the Verify button, as depicted below: Note, the DBGp Proxy key gets generated automatically based on user's name or their computer' name. See multi-user debugging for more details. Configure the values according your proxy. If the mapping is not set, the debugger will infer the simple mapping automatically based on the first script that is hit by the debugger.ĭBGp Proxy is standard proxy configuration allowing more developers debugging the same remote project.
#Visual studio remote debugging code
This allows convenient debugging of the remote code even in case the project structure is more complex and the local directory structure does not match exactly the remote directory structure. Path Mapping is optional set of directory mapping paths on the remote computer (absolute directory path - right column) to the corresponding path on the local computer (relatively to the project root - left column). Xdebug (the debugging extension installed on the remote server) will contact Visual Studio on this port number. Xdebug port: matches the configured Xdebug port number (aka "remote port" or "client port").
#Visual studio remote debugging full
Server URL: is the full public URL where the remote server hosts the PHP application. You could try running individual instances of the debugger but you may run into user rights or permissions related issues. Choose Run the 'Visual Studio 2008 Remote Debugger' service.
Under the Server drop down list, choose the Custom option. Once you have the remote debugger installed, run Visual Studio 2008 Remote Debugger Configuration Wizard from the start menu of the remote machine. Go to Project / Properties, and switch to Server tab, as depicted on the screenshot below. This option is available in the PHP project properties, under the Server tab. Figure 1-1: Visual Studio remote debugging. In case the PHP code is running on a remote server (on any platform), it is still possible to debug it inside local Visual Studio. Studio for Windows function libraries using the Visual Studio Remote Debugger.