routers, the native IP is the LAN IP, where the router's port needs to be mapped to local. The specific rules are as follows:
Server xdebug Port => Local port, the author here to map the router's 9000 port to the local 9000 port.
Start debugging
Open the project's run configuration and choose PHP WEB Application
The author server here is HTTPS, so added HTTPS, readers please fill in the website according to the actual situation.
Tap the IDE's
Allow rules;Fill in and click the Refresh button to find the W3wp.exe process, the same name process may have multiple, find the process to debug the site, click the Attach button. Note that if you do not see your site process, the site may not be turned on, or the "Show all user Processes" in the lower left corner is not checked.This allows you to open the Web site in a browser and debug it natively. Note that when the Web site is published to the server, the debug mode is selected, and the PD
1. Commissioning the Environment1.1 Remote Linux runs the hadoop1.2 local Windows eclipse in source code 1.3 of native Windows Eclipse has Hadoop's own code 2 written. Step 2.1 Modify the hadoop-env.sh of the HADOOP program running on the remote Linux, comment out the 21st line, add a line of code export hadoop_namenode_opts= "-xdebug-xrunjdwp:transport= Dt_socket,address=9090,server=y,suspend=y "2.2 Import
=dt_socket,address=8787,server=y,suspend=n" 3, modify Cloudstack database address: Need to modify files: Cloudstack/utils/conf/db.properties and Cloudstack/tools/devcloud/devcloud.cfg and cloudstack/build/replace.propertiesEclipse Remote Debugging Prerequisites1, using git clone-b 4.3--recursivehttps://github.com/apache/cloudstack.git Get the source code, about 400M2, Eclipse installs M2E plug-in, Pydev plu
Under Tomcat bin start.sh the first line of non-annotation code adds Declare-x catalina_opts= "-xdebug-xrunjdwp:transport=dt_socket,server=y,suspend=n, address=8000 "code
Then paste the Project war package into the WebApps
Run SH start.sh under bin to start Tomcat
Go to native Eclipse Select item Right-click to locate the Debug as under Headset menu debug configurations, locate the remote Java application in the Open dialog box, right-click New
In
The page on the phone is not as easy to debug as desktop development. You can use weinre for remote debugging to facilitate development. This article describes installation and use under Windows.InstallationWith NPM installation, you can run:
NPM install-g weinre
The installation path may be like this:Input command
WeinreCan be started.
To open a URL using your browser:http://loc
This document describes the apache+php project on a remote debugging Linux host, with the following tools required for each end:
CLIENT (Windows, 10.239.54.24)-----------------------------------------------------------------SERVER (Ubuntu 10.04, 10.239.54.115)
Browser with Xdebug plugin Xdebug
Eclipse with PDT
Environment Installation:
1. Eclipse Juno 4.2
2. PDT (Eclipse->help->install New Software (Juno-h
When you debug a Silverlight project in VS2013, you are prompted to: cannot attach. The 32-bit version of the Visual Studio Remote Debugging Monitor (MSVSMON.EXE) cannot be used to debug 64-bit processes or 64-bit dumps. Use the 64-bit version instead.The workaround is simple:Change the debug program of the Debugging button Internet Explorer to Internet Explorer2
"Show copying" to see the conditions.There is absolutely no warranty for GDB. Type "Show warranty" for details.This GDB is configured as "--host=i686-pc-linux-gnu--target=arm-linux" ...(GDB)Notice the last--host=i686-pc-linux-gnu of the message--target=arm-linux, understand ...Target Remote 192.168.1.168:7777--Connect GdbserverRemote Debugging using 192.168.1.168:77770x40000dd0 in _start () from/lib/ld-lin
Remote debugging of Galssfish in eclipse, tracking the source code of GlassFish. 1) To establish the project
To track the source code, first create a new project in Eclipse and import the GlassFish into the project. Make sure that the code you want to follow can be compiled.
GlassFish source code can be downloaded on its website: https://glassfish.dev.java.net/
2) Set GlassFish
Set the GlassFish parameter,
this automatic installation of the service, to uninstall it, there is no big impact on vs. After uninstalling, then turn on the required services under the SQL Server service. Then again, vs why to automatically install "Microsoft SQL Server (EXPRESSLOCALDB)", the baby really do not know, but look at the surface meaning, should be a local database or something??? Baidu told me: VS2012 provides a local database engine "Microsoft SQL Server expresslocaldb", through VS2012 can easily manage and u
Pre-launch homepage open especially slowIn the Network tab, it can be seen that getnewslist.do is the most time consuming and uses 2.13s (30s when the problem occurs).Debug the debug code remotely using Tomcat's remote application, analyze the cause step by step, and ultimately determine that the problem is due to the data source and that the modification of the configuration file restarts, the issue is resolved.Pre-launch home based on Eclipse
When we need to locate the production environment and the logs are not clear, we can use the remote debugging provided by Tomcat, set up as follows:declare-x catalina_opts="-server-xdebug-xnoagent-djava.compiler=none-xrunjdwp: transport=dt_socket,server=y,suspend=n,address=8081"// Windows system: apach/bin/ At the beginning of the Startup.bat, add the following:SET catalina_opts=-server-xdebug-xnoagent-d
For remote debugging in linux, if the remote port 8000 is not enabled, you can use the following method to perform remote debugging: Download a plink.exe www.2cto.com and then enter the command line, jump to the directory where plink.exe is located, and execute In local ecli
In a recent project, the Dubbo service framework of Ali was used, which is similar to the SOA architecture, that is, the service of the project is provided in a Dubbo way, and the deployment of this service is completely independent of the deployment of the Web project. This upgrade of the system can be done when the Web project and service services separation, so in the process of development there will be a problem, that is unable to freely debug, the eclipse of the
PHP Remote Debugging
1, decompression related documents 2, tools->deployment->configuration (set sshd login username and password, RootPath set to/home/fantom/apps)3, Settings->languageframeworks->php->debug (Debug Port set to 9000)4, Settings->languageframeworks->php->servers (add remote server and server file path mapping)5, Run->edit configurations (add PHP
is turned on, the following xdebug.remote_host parameters are ignored. xdebug.remote_host = 192.168.59.104//Note here is that the client's ipXdebug.remote_port = 9900//Note here is the port of the client xdebug.remote_enable = onXdebug.remote_handler = DBGPXdebug.remote_log = "/var/www/xdebug/xdebug.log"xdebug.remote_req = reqxdebug.auto_trace = OffXdebug.remote_autostart = onxdebug.show_exception_trace = 0xdebug.collect_vars = onXdebug.collect_return = onxdebug.collect_params = onxdebug.var_di
Tomcat7 settings
Add a line in the Catalina. Sh File HeaderJpda_suspend = 'y'This will pause the running of the Tomcat application when it starts, and wait for the jdb client to connect and issue the Run Command to start running.Start the Tomcat program in remote debugging mode. The default listening port is 8000../Catalina. Sh JPDA startJdb connection
On the client, use commands to connect to the Tomcat
To remotely Debug php, you must first ensure that zenddebugger is correctly installed on the server. You can use phpinfo to view the information. The dummy. php file is located in the root directory of the server. In addition, you also need to change the php. ini of the server? Zend_debugger.allow_hosts127.0.0.1zend_debugger.expose_remotelyalways remote debugging php
First, make sure that zend debugger is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.