伺服器端tomcat,debug除錯

2021-07-07 03:08:45 字數 657 閱讀 4999

專案部署在伺服器上,而你要想在本地對其進行debug除錯。何解?通 過設定tomcat以debug模式啟動可以達到預期效果

1、tomcat/bin/catalina.bat,任意地方增加以下內容

set catalina_opts=-xdebug -xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n

2、myeclipse進行如下配置

3、啟動伺服器上tomcat

4、打斷點,並啟動debug開始除錯

5、停止debug

socket伺服器端

伺服器 include winsock2.h include string.h include stdio.h include time.h include stdarg.h include stdlib.h pragma comment lib,ws2 32 void errexit const ...

kerberos伺服器端

1.安裝tcl wget tar zvxf tcl8.5.12 src.tar.gz cd tcl8.5.12 cd unix configure make make install 3.解壓 tar xvf krb5 1.10.3 signed.tar tar zvxf krb5 1.10.3.t...

C tcp伺服器端

伺服器端 include stdafx.h include winsock2.h pragma comment lib,ws2 32.lib include using namespace std int tmain int argc,char ar 建立套接字 sserver socket af ...