@ -14,7 +14,9 @@ Welcome PR to further improve English [documentation](https://github.com/alibaba
## Developer
Compilation requires JDK 7 and above since we are `java.lang.management.BufferPoolMXBean` while runtime requires JDK 6.
* Arthas runtime supports JDK6+
* To build Arthas requires JDK7+, because of the source code import JDK7 classes, such as `java.lang.management.BufferPoolMXBean`.
### Local Installation
@ -42,26 +44,7 @@ Tip: you can use `--versions` to list all available versions.
### Debug
There are two stages when booting Arthas:
#### Stage 1
Execute `com.taobao.arthas.core.Arthas`, locate a proper JVM and attach to it.
If you intend to debug this part, you can:
```bash
./as.sh debug pid
```
The JPDA port is `8888`, you can connect to it from remote to debug; if you want to make it suspend after start, you can:
```bash
JPDA_SUSPEND=y ./as.sh debug pid
```
#### Stage 2
After attaching, Arthas agent runs inside the target process. If you want to debug agent, you have to make sure the target process is started in debug mode too. If so, then you can directly import the Arthas source code, and debug it.
* [Debug Arthas In IDEA](https://github.com/alibaba/arthas/issues/222)
### Packaging All
@ -94,7 +77,8 @@ After attaching, Arthas agent runs inside the target process. If you want to deb