Update ToStart.MD

This commit is contained in:
mzdluo123 2020-04-23 19:11:21 +08:00
parent 21b10193de
commit a6eb03d727
10 changed files with 35 additions and 0 deletions

View File

@ -109,6 +109,41 @@ IDEA分付费的Ultimate版和免费的Community版选择自己的系统后
<br>
<br>
#### 如何运行
1: 根据下图帮助打开gradle window 并双击对应task
![运行task](assets/run1.png)<br>
2: 此时你应该能看到正在进行编译编译完成之后将会自动启动console<br>
3: 输入密码完成登录,开始测试
<br>
<br>
#### 如何debug
在进行了上述配置之后直接用debug模式运行task可能会无法成功断点请按照以下方式配置<br>
1: 点击这里打开运行配置<br>
![打开运行配置](assets/debug1.png)<br>
2: 选择刚刚自带生成的配置并复制一份<br>
![复制配置](assets/debug2.png)<br>
3: 修改复制的配置,按照下图添加 `--debug-jvm`<br>
![修改配置](assets/debug3.png)<br>
4: 添加Remote Debug一般来说不需要更改设置直接确认即可<br>
![remote debug](assets/debug4.png)<br>
5: 运行task<br>
![run](assets/debug5.png)<br>
6: 出现以下显示的时候切换到Remote并点击debug
![listening](assets/debug6.png)<br>
![debug](assets/debug7.png)<br>
7: 当调试器附加成功时程序才会开始运行,因此你可以在任何地方使用断点,当然也可能会出现一些问题导致某些地方断点失效
![breakpoint](assets/debug8.png)<br>
<br>
<br>
<br>
#### 如何打包插件
1: 根据下图帮助打开gradle window[maven同理]<br>
![打开window](assets/ideaplugin6.jpg)<br>

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
PluginDocs/assets/run1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB