You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2023/04/21 14:59:51 UTC

[linkis-website] branch dev updated: Update debug.md (#695)

This is an automated email from the ASF dual-hosted git repository.

casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/linkis-website.git


The following commit(s) were added to refs/heads/dev by this push:
     new 9f844661a9 Update debug.md (#695)
9f844661a9 is described below

commit 9f844661a9e219e1ed461024b95878949f36851d
Author: ChengJie1053 <18...@163.com>
AuthorDate: Fri Apr 21 22:59:45 2023 +0800

    Update debug.md (#695)
    
    * Delete the Start linkis-cg-engineplugin
    
    * Set the prefer ip address
    
    * recover 1.3.1 doc
    
    * update debug.md
---
 docs/development/debug.md                          | 66 +++++-----------------
 .../current/development/debug.md                   | 66 +++++-----------------
 .../version-1.3.2/current/development/debug.md     | 66 +++++-----------------
 .../version-1.3.2/development/debug.md             | 66 +++++-----------------
 versioned_docs/version-1.3.1/development/debug.md  |  0
 versioned_docs/version-1.3.2/development/debug.md  | 66 +++++-----------------
 6 files changed, 70 insertions(+), 260 deletions(-)

diff --git a/docs/development/debug.md b/docs/development/debug.md
old mode 100644
new mode 100755
index 39d25bd10e..e27dc16a0a
--- a/docs/development/debug.md
+++ b/docs/development/debug.md
@@ -254,51 +254,7 @@ org.apache.linkis.entrance.LinkisEntranceApplication
 By checking Include dependencies with "Provided" scope, you can introduce provided-level dependency packages during debugging.
 ````
 
-### 3.8 Start linkis-cg-engineplugin
-
-![engineplugin-app](/Images/development/debug/engineplugin-app.png)
-
-Parameter explanation:
-
-```shell
-[Service Name]
-linkis-cg-engineplugin
-
-[Use classpath of module]
-linkis-engineconn-plugin-server
-
-[VM Opitons]
--DserviceName=linkis-cg-engineplugin -Xbootclasspath/a:{YourPathPrefix}/linkis/linkis-dist/package/conf
-
-[main Class]
-org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer
-
-[Add provided scope to classpath]
-By checking Include dependencies with "Provided" scope, you can introduce provided-level dependency packages during debugging.
-````
-
-When starting engineplugin, you may encounter the following error:
-
-![engineplugin-debug-error](/Images/development/debug/engineplugin-debug-error.png)
-
-You need to add the publicly dependent modules to the classpath of the ecp module, and modify the pom of pes to add the following dependencies:
-linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
-````xml
-    <dependency>
-      <groupId>org.apache.linkis</groupId>
-      <artifactId>linkis-dist</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>${mysql.connector.version}</version>
-    </dependency>
-
-````
-
-### 3.9 Start linkis-cg-engineconnmanager
+### 3.8 Start linkis-cg-engineconnmanager
 
 ![engineconnmanager-app](/Images/development/debug/engineconnmanager-app.png)
 
@@ -325,11 +281,11 @@ By checking Include dependencies with "Provided" scope, you can introduce provid
 
 Debugging the linkis-cg-engineconnmanager module only supports Mac OS and Linux systems.
 
-### 3.10 Key Configuration Modifications
+### 3.9 Key Configuration Modifications
 
 The above operation only completes the configuration of the application startup of each Linkis microservice. In addition, in the configuration file loaded when the Linkis service starts, some key configurations also need to be modified in a targeted manner, otherwise the process of starting the service or script execution Some errors will be encountered. The key configuration modifications are summarized as follows:
 
-#### 3.10.1 conf/linkis.properties
+#### 3.9.1 conf/linkis.properties
 
 ````properties
 # linkis underlying database connection parameter configuration
@@ -345,6 +301,12 @@ wds.linkis.home=/Users/leojie/software/linkis
 
 # Set the administrator username, your local username
 wds.linkis.governance.station.admin=leojie
+
+# Set the prefer ip address
+linkis.discovery.prefer-ip-address=true
+
+# Set the debug enable
+wds.linkis.engineconn.debug.enable=true
 ````
 
 Before configuring linkis underlying database connection parameters, please create linkis database and run linkis-dist/package/db/linkis_ddl.sql and linkis-dist/package/db/linkis_dml.sql to initialize all tables and data.
@@ -353,7 +315,7 @@ The directory structure of wds.linkis.home={YourPathPrefix}/linkis is as follows
 
 ![linkis-home](/Images/development/debug/linkis-home.png)
 
-#### 3.10.2 conf/linkis-cg-entrance.properties
+#### 3.9.2 conf/linkis-cg-entrance.properties
 
 ````properties
 # The log directory of the entrance service execution task
@@ -363,7 +325,7 @@ wds.linkis.entrance.config.log.path=file:///{YourPathPrefix}/linkis/data/entranc
 wds.linkis.resultSet.store.path=file:///{YourPathPrefix}/linkis/data/resultSetDir
 ````
 
-#### 3.10.3 conf/linkis-cg-engineconnmanager.properties
+#### 3.9.3 conf/linkis-cg-engineconnmanager.properties
 
 ````properties
 wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
@@ -371,7 +333,7 @@ wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
 
 If you do not modify it, you may encounter an exception that the path does not exist.
 
-#### 3.10.4 conf/linkis-cg-engineplugin.properties
+#### 3.9.4 conf/linkis-cg-engineplugin.properties
 
 ````properties
 wds.linkis.engineconn.home={YourPathPrefix}/linkis/linkis-engineconn-plugins/shell/target/out
@@ -381,7 +343,7 @@ wds.linkis.engineconn.plugin.loader.store.path={YourPathPrefix}/linkis/linkis-en
 
 The two configurations here are mainly to specify the root directory of the engine storage, and the main purpose of specifying it as target/out is that after the engine-related code or configuration changes, the engineplugin service can be restarted directly to take effect.
 
-### 3.11 Set sudo password-free for the current user
+### 3.10 Set sudo password-free for the current user
 
 When the engine is started, sudo needs to be used to execute the shell command to start the engine process. The current user on the mac generally needs to enter a password when using sudo. Therefore, it is necessary to set the sudo password-free for the current user. The setting method is as follows:
 
@@ -392,7 +354,7 @@ Replace #%admin ALL=(ALL) AL with %admin ALL=(ALL) NOPASSWD: ALL
 save file exit
 ````
 
-### 3.12 Service Test
+### 3.11 Service Test
 
 Make sure that the above services are all successfully started, and then test and submit the shell script job in postman.
 
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/debug.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/debug.md
index 42b7d1f14a..d96fc725b3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/debug.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/development/debug.md
@@ -255,51 +255,7 @@ org.apache.linkis.entrance.LinkisEntranceApplication
 通过勾选Include dependencies with “Provided” scope ,可以在调试时,引入provided级别的依赖包。
 ```
 
-### 3.8 启动linkis-cg-engineplugin
-
-![engineplugin-app](/Images/development/debug/engineplugin-app.png)
-
-参数解释:
-
-```shell
-[Service Name]
-linkis-cg-engineplugin
-
-[Use classpath of module]
-linkis-engineconn-plugin-server
-
-[VM Opitons]
--DserviceName=linkis-cg-engineplugin -Xbootclasspath/a:{YourPathPrefix}/linkis/linkis-dist/package/conf
-
-[main Class]
-org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer
-
-[Add provided scope to classpath]
-通过勾选Include dependencies with “Provided” scope ,可以在调试时,引入provided级别的依赖包。
-```
-
-启动engineplugin的时候可能会遇到如下报错:
-
-![engineplugin-debug-error](/Images/development/debug/engineplugin-debug-error.png)
-
-需要把公共依赖的模块加到ecp模块的classpath下,修改pes的pom增加以下依赖:
-linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
-```xml
-    <dependency>
-      <groupId>org.apache.linkis</groupId>
-      <artifactId>linkis-dist</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>${mysql.connector.version}</version>
-    </dependency>
-
-```
-
-### 3.9 启动linkis-cg-engineconnmanager
+### 3.8 启动linkis-cg-engineconnmanager
 
 ![engineconnmanager-app](/Images/development/debug/engineconnmanager-app.png)
 
@@ -329,11 +285,11 @@ org.apache.linkis.ecm.server.LinkisECMApplication
 
 
 
-### 3.10 关键配置修改
+### 3.9 关键配置修改
 
 以上操作只是完成了对Linkis各个微服务启动Application的配置,除此之外,Linkis服务启动时所加载的配置文件中,有些关键配置也需要做针对性地修改,否则启动服务或脚本执行的过程中会遇到一些报错。关键配置的修改归纳如下:
 
-####  3.10.1 conf/linkis.properties
+####  3.9.1 conf/linkis.properties
 
 ```properties
 # linkis底层数据库连接参数配置
@@ -349,6 +305,12 @@ wds.linkis.home=/Users/leojie/software/linkis
 
 # 设置管理员用户名,你的本机用户名
 wds.linkis.governance.station.admin=leojie
+
+# 设置ip地址优先
+linkis.discovery.prefer-ip-address=true
+
+# 设置ec调试启用
+wds.linkis.engineconn.debug.enable=true
 ```
 
 在配置linkis底层数据库连接参数之前,请创建linkis数据库,并运行linkis-dist/package/db/linkis_ddl.sql和linkis-dist/package/db/linkis_dml.sql来初始化所有表和数据。
@@ -357,7 +319,7 @@ wds.linkis.governance.station.admin=leojie
 
 ![linkis-home](/Images/development/debug/linkis-home.png)
 
-#### 3.10.2 conf/linkis-cg-entrance.properties
+#### 3.9.2 conf/linkis-cg-entrance.properties
 
 ```properties
 # entrance服务执行任务的日志目录
@@ -367,7 +329,7 @@ wds.linkis.entrance.config.log.path=file:///{YourPathPrefix}/linkis/data/entranc
 wds.linkis.resultSet.store.path=file:///{YourPathPrefix}/linkis/data/resultSetDir
 ```
 
-#### 3.10.3 conf/linkis-cg-engineconnmanager.properties
+#### 3.9.3 conf/linkis-cg-engineconnmanager.properties
 
 ```properties
 wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
@@ -375,7 +337,7 @@ wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
 
 不修改可能会遇到路径不存在异常。
 
-#### 3.10.4 conf/linkis-cg-engineplugin.properties
+#### 3.9.4 conf/linkis-cg-engineplugin.properties
 
 ```properties
 wds.linkis.engineconn.home={YourPathPrefix}/linkis/linkis-engineconn-plugins/shell/target/out
@@ -385,7 +347,7 @@ wds.linkis.engineconn.plugin.loader.store.path={YourPathPrefix}/linkis/linkis-en
 
 这里两个配置主要为了指定引擎存储的根目录,指定为target/out的主要目的是,引擎相关代码或配置改动后可以直接重启engineplugin服务后生效。
 
-### 3.11 为当前用户设置sudo免密
+### 3.10 为当前用户设置sudo免密
 
 引擎拉起时需要使用sudo来执行启动引擎进程的shell命令,mac上当前用户使用sudo时一般都需要输入密码,因此,需要为当前用户设置sudo免密,设置方法如下:
 
@@ -396,7 +358,7 @@ sudo visudo
 保存文件退出
 ```
 
-### 3.12 服务测试
+### 3.11 服务测试
 
 保证上述服务都是成功启动状态,然后在postman中测试提交运行shell脚本作业。
 
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/current/development/debug.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/current/development/debug.md
index 42b7d1f14a..d96fc725b3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/current/development/debug.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/current/development/debug.md
@@ -255,51 +255,7 @@ org.apache.linkis.entrance.LinkisEntranceApplication
 通过勾选Include dependencies with “Provided” scope ,可以在调试时,引入provided级别的依赖包。
 ```
 
-### 3.8 启动linkis-cg-engineplugin
-
-![engineplugin-app](/Images/development/debug/engineplugin-app.png)
-
-参数解释:
-
-```shell
-[Service Name]
-linkis-cg-engineplugin
-
-[Use classpath of module]
-linkis-engineconn-plugin-server
-
-[VM Opitons]
--DserviceName=linkis-cg-engineplugin -Xbootclasspath/a:{YourPathPrefix}/linkis/linkis-dist/package/conf
-
-[main Class]
-org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer
-
-[Add provided scope to classpath]
-通过勾选Include dependencies with “Provided” scope ,可以在调试时,引入provided级别的依赖包。
-```
-
-启动engineplugin的时候可能会遇到如下报错:
-
-![engineplugin-debug-error](/Images/development/debug/engineplugin-debug-error.png)
-
-需要把公共依赖的模块加到ecp模块的classpath下,修改pes的pom增加以下依赖:
-linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
-```xml
-    <dependency>
-      <groupId>org.apache.linkis</groupId>
-      <artifactId>linkis-dist</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>${mysql.connector.version}</version>
-    </dependency>
-
-```
-
-### 3.9 启动linkis-cg-engineconnmanager
+### 3.8 启动linkis-cg-engineconnmanager
 
 ![engineconnmanager-app](/Images/development/debug/engineconnmanager-app.png)
 
@@ -329,11 +285,11 @@ org.apache.linkis.ecm.server.LinkisECMApplication
 
 
 
-### 3.10 关键配置修改
+### 3.9 关键配置修改
 
 以上操作只是完成了对Linkis各个微服务启动Application的配置,除此之外,Linkis服务启动时所加载的配置文件中,有些关键配置也需要做针对性地修改,否则启动服务或脚本执行的过程中会遇到一些报错。关键配置的修改归纳如下:
 
-####  3.10.1 conf/linkis.properties
+####  3.9.1 conf/linkis.properties
 
 ```properties
 # linkis底层数据库连接参数配置
@@ -349,6 +305,12 @@ wds.linkis.home=/Users/leojie/software/linkis
 
 # 设置管理员用户名,你的本机用户名
 wds.linkis.governance.station.admin=leojie
+
+# 设置ip地址优先
+linkis.discovery.prefer-ip-address=true
+
+# 设置ec调试启用
+wds.linkis.engineconn.debug.enable=true
 ```
 
 在配置linkis底层数据库连接参数之前,请创建linkis数据库,并运行linkis-dist/package/db/linkis_ddl.sql和linkis-dist/package/db/linkis_dml.sql来初始化所有表和数据。
@@ -357,7 +319,7 @@ wds.linkis.governance.station.admin=leojie
 
 ![linkis-home](/Images/development/debug/linkis-home.png)
 
-#### 3.10.2 conf/linkis-cg-entrance.properties
+#### 3.9.2 conf/linkis-cg-entrance.properties
 
 ```properties
 # entrance服务执行任务的日志目录
@@ -367,7 +329,7 @@ wds.linkis.entrance.config.log.path=file:///{YourPathPrefix}/linkis/data/entranc
 wds.linkis.resultSet.store.path=file:///{YourPathPrefix}/linkis/data/resultSetDir
 ```
 
-#### 3.10.3 conf/linkis-cg-engineconnmanager.properties
+#### 3.9.3 conf/linkis-cg-engineconnmanager.properties
 
 ```properties
 wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
@@ -375,7 +337,7 @@ wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
 
 不修改可能会遇到路径不存在异常。
 
-#### 3.10.4 conf/linkis-cg-engineplugin.properties
+#### 3.9.4 conf/linkis-cg-engineplugin.properties
 
 ```properties
 wds.linkis.engineconn.home={YourPathPrefix}/linkis/linkis-engineconn-plugins/shell/target/out
@@ -385,7 +347,7 @@ wds.linkis.engineconn.plugin.loader.store.path={YourPathPrefix}/linkis/linkis-en
 
 这里两个配置主要为了指定引擎存储的根目录,指定为target/out的主要目的是,引擎相关代码或配置改动后可以直接重启engineplugin服务后生效。
 
-### 3.11 为当前用户设置sudo免密
+### 3.10 为当前用户设置sudo免密
 
 引擎拉起时需要使用sudo来执行启动引擎进程的shell命令,mac上当前用户使用sudo时一般都需要输入密码,因此,需要为当前用户设置sudo免密,设置方法如下:
 
@@ -396,7 +358,7 @@ sudo visudo
 保存文件退出
 ```
 
-### 3.12 服务测试
+### 3.11 服务测试
 
 保证上述服务都是成功启动状态,然后在postman中测试提交运行shell脚本作业。
 
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/development/debug.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/development/debug.md
index 42b7d1f14a..d96fc725b3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/development/debug.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.3.2/development/debug.md
@@ -255,51 +255,7 @@ org.apache.linkis.entrance.LinkisEntranceApplication
 通过勾选Include dependencies with “Provided” scope ,可以在调试时,引入provided级别的依赖包。
 ```
 
-### 3.8 启动linkis-cg-engineplugin
-
-![engineplugin-app](/Images/development/debug/engineplugin-app.png)
-
-参数解释:
-
-```shell
-[Service Name]
-linkis-cg-engineplugin
-
-[Use classpath of module]
-linkis-engineconn-plugin-server
-
-[VM Opitons]
--DserviceName=linkis-cg-engineplugin -Xbootclasspath/a:{YourPathPrefix}/linkis/linkis-dist/package/conf
-
-[main Class]
-org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer
-
-[Add provided scope to classpath]
-通过勾选Include dependencies with “Provided” scope ,可以在调试时,引入provided级别的依赖包。
-```
-
-启动engineplugin的时候可能会遇到如下报错:
-
-![engineplugin-debug-error](/Images/development/debug/engineplugin-debug-error.png)
-
-需要把公共依赖的模块加到ecp模块的classpath下,修改pes的pom增加以下依赖:
-linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
-```xml
-    <dependency>
-      <groupId>org.apache.linkis</groupId>
-      <artifactId>linkis-dist</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>${mysql.connector.version}</version>
-    </dependency>
-
-```
-
-### 3.9 启动linkis-cg-engineconnmanager
+### 3.8 启动linkis-cg-engineconnmanager
 
 ![engineconnmanager-app](/Images/development/debug/engineconnmanager-app.png)
 
@@ -329,11 +285,11 @@ org.apache.linkis.ecm.server.LinkisECMApplication
 
 
 
-### 3.10 关键配置修改
+### 3.9 关键配置修改
 
 以上操作只是完成了对Linkis各个微服务启动Application的配置,除此之外,Linkis服务启动时所加载的配置文件中,有些关键配置也需要做针对性地修改,否则启动服务或脚本执行的过程中会遇到一些报错。关键配置的修改归纳如下:
 
-####  3.10.1 conf/linkis.properties
+####  3.9.1 conf/linkis.properties
 
 ```properties
 # linkis底层数据库连接参数配置
@@ -349,6 +305,12 @@ wds.linkis.home=/Users/leojie/software/linkis
 
 # 设置管理员用户名,你的本机用户名
 wds.linkis.governance.station.admin=leojie
+
+# 设置ip地址优先
+linkis.discovery.prefer-ip-address=true
+
+# 设置ec调试启用
+wds.linkis.engineconn.debug.enable=true
 ```
 
 在配置linkis底层数据库连接参数之前,请创建linkis数据库,并运行linkis-dist/package/db/linkis_ddl.sql和linkis-dist/package/db/linkis_dml.sql来初始化所有表和数据。
@@ -357,7 +319,7 @@ wds.linkis.governance.station.admin=leojie
 
 ![linkis-home](/Images/development/debug/linkis-home.png)
 
-#### 3.10.2 conf/linkis-cg-entrance.properties
+#### 3.9.2 conf/linkis-cg-entrance.properties
 
 ```properties
 # entrance服务执行任务的日志目录
@@ -367,7 +329,7 @@ wds.linkis.entrance.config.log.path=file:///{YourPathPrefix}/linkis/data/entranc
 wds.linkis.resultSet.store.path=file:///{YourPathPrefix}/linkis/data/resultSetDir
 ```
 
-#### 3.10.3 conf/linkis-cg-engineconnmanager.properties
+#### 3.9.3 conf/linkis-cg-engineconnmanager.properties
 
 ```properties
 wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
@@ -375,7 +337,7 @@ wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
 
 不修改可能会遇到路径不存在异常。
 
-#### 3.10.4 conf/linkis-cg-engineplugin.properties
+#### 3.9.4 conf/linkis-cg-engineplugin.properties
 
 ```properties
 wds.linkis.engineconn.home={YourPathPrefix}/linkis/linkis-engineconn-plugins/shell/target/out
@@ -385,7 +347,7 @@ wds.linkis.engineconn.plugin.loader.store.path={YourPathPrefix}/linkis/linkis-en
 
 这里两个配置主要为了指定引擎存储的根目录,指定为target/out的主要目的是,引擎相关代码或配置改动后可以直接重启engineplugin服务后生效。
 
-### 3.11 为当前用户设置sudo免密
+### 3.10 为当前用户设置sudo免密
 
 引擎拉起时需要使用sudo来执行启动引擎进程的shell命令,mac上当前用户使用sudo时一般都需要输入密码,因此,需要为当前用户设置sudo免密,设置方法如下:
 
@@ -396,7 +358,7 @@ sudo visudo
 保存文件退出
 ```
 
-### 3.12 服务测试
+### 3.11 服务测试
 
 保证上述服务都是成功启动状态,然后在postman中测试提交运行shell脚本作业。
 
diff --git a/versioned_docs/version-1.3.1/development/debug.md b/versioned_docs/version-1.3.1/development/debug.md
old mode 100644
new mode 100755
diff --git a/versioned_docs/version-1.3.2/development/debug.md b/versioned_docs/version-1.3.2/development/debug.md
old mode 100644
new mode 100755
index 39d25bd10e..e27dc16a0a
--- a/versioned_docs/version-1.3.2/development/debug.md
+++ b/versioned_docs/version-1.3.2/development/debug.md
@@ -254,51 +254,7 @@ org.apache.linkis.entrance.LinkisEntranceApplication
 By checking Include dependencies with "Provided" scope, you can introduce provided-level dependency packages during debugging.
 ````
 
-### 3.8 Start linkis-cg-engineplugin
-
-![engineplugin-app](/Images/development/debug/engineplugin-app.png)
-
-Parameter explanation:
-
-```shell
-[Service Name]
-linkis-cg-engineplugin
-
-[Use classpath of module]
-linkis-engineconn-plugin-server
-
-[VM Opitons]
--DserviceName=linkis-cg-engineplugin -Xbootclasspath/a:{YourPathPrefix}/linkis/linkis-dist/package/conf
-
-[main Class]
-org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer
-
-[Add provided scope to classpath]
-By checking Include dependencies with "Provided" scope, you can introduce provided-level dependency packages during debugging.
-````
-
-When starting engineplugin, you may encounter the following error:
-
-![engineplugin-debug-error](/Images/development/debug/engineplugin-debug-error.png)
-
-You need to add the publicly dependent modules to the classpath of the ecp module, and modify the pom of pes to add the following dependencies:
-linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-server/pom.xml
-````xml
-    <dependency>
-      <groupId>org.apache.linkis</groupId>
-      <artifactId>linkis-dist</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-      <version>${mysql.connector.version}</version>
-    </dependency>
-
-````
-
-### 3.9 Start linkis-cg-engineconnmanager
+### 3.8 Start linkis-cg-engineconnmanager
 
 ![engineconnmanager-app](/Images/development/debug/engineconnmanager-app.png)
 
@@ -325,11 +281,11 @@ By checking Include dependencies with "Provided" scope, you can introduce provid
 
 Debugging the linkis-cg-engineconnmanager module only supports Mac OS and Linux systems.
 
-### 3.10 Key Configuration Modifications
+### 3.9 Key Configuration Modifications
 
 The above operation only completes the configuration of the application startup of each Linkis microservice. In addition, in the configuration file loaded when the Linkis service starts, some key configurations also need to be modified in a targeted manner, otherwise the process of starting the service or script execution Some errors will be encountered. The key configuration modifications are summarized as follows:
 
-#### 3.10.1 conf/linkis.properties
+#### 3.9.1 conf/linkis.properties
 
 ````properties
 # linkis underlying database connection parameter configuration
@@ -345,6 +301,12 @@ wds.linkis.home=/Users/leojie/software/linkis
 
 # Set the administrator username, your local username
 wds.linkis.governance.station.admin=leojie
+
+# Set the prefer ip address
+linkis.discovery.prefer-ip-address=true
+
+# Set the debug enable
+wds.linkis.engineconn.debug.enable=true
 ````
 
 Before configuring linkis underlying database connection parameters, please create linkis database and run linkis-dist/package/db/linkis_ddl.sql and linkis-dist/package/db/linkis_dml.sql to initialize all tables and data.
@@ -353,7 +315,7 @@ The directory structure of wds.linkis.home={YourPathPrefix}/linkis is as follows
 
 ![linkis-home](/Images/development/debug/linkis-home.png)
 
-#### 3.10.2 conf/linkis-cg-entrance.properties
+#### 3.9.2 conf/linkis-cg-entrance.properties
 
 ````properties
 # The log directory of the entrance service execution task
@@ -363,7 +325,7 @@ wds.linkis.entrance.config.log.path=file:///{YourPathPrefix}/linkis/data/entranc
 wds.linkis.resultSet.store.path=file:///{YourPathPrefix}/linkis/data/resultSetDir
 ````
 
-#### 3.10.3 conf/linkis-cg-engineconnmanager.properties
+#### 3.9.3 conf/linkis-cg-engineconnmanager.properties
 
 ````properties
 wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
@@ -371,7 +333,7 @@ wds.linkis.engineconn.root.dir={YourPathPrefix}/linkis/data/engineconnRootDir
 
 If you do not modify it, you may encounter an exception that the path does not exist.
 
-#### 3.10.4 conf/linkis-cg-engineplugin.properties
+#### 3.9.4 conf/linkis-cg-engineplugin.properties
 
 ````properties
 wds.linkis.engineconn.home={YourPathPrefix}/linkis/linkis-engineconn-plugins/shell/target/out
@@ -381,7 +343,7 @@ wds.linkis.engineconn.plugin.loader.store.path={YourPathPrefix}/linkis/linkis-en
 
 The two configurations here are mainly to specify the root directory of the engine storage, and the main purpose of specifying it as target/out is that after the engine-related code or configuration changes, the engineplugin service can be restarted directly to take effect.
 
-### 3.11 Set sudo password-free for the current user
+### 3.10 Set sudo password-free for the current user
 
 When the engine is started, sudo needs to be used to execute the shell command to start the engine process. The current user on the mac generally needs to enter a password when using sudo. Therefore, it is necessary to set the sudo password-free for the current user. The setting method is as follows:
 
@@ -392,7 +354,7 @@ Replace #%admin ALL=(ALL) AL with %admin ALL=(ALL) NOPASSWD: ALL
 save file exit
 ````
 
-### 3.12 Service Test
+### 3.11 Service Test
 
 Make sure that the above services are all successfully started, and then test and submit the shell script job in postman.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org