Skip to content

Instantly share code, notes, and snippets.

@bohrqiu
Last active August 29, 2015 14:05
Show Gist options
  • Save bohrqiu/1f32d3575e89ec09e8d5 to your computer and use it in GitHub Desktop.
Save bohrqiu/1f32d3575e89ec09e8d5 to your computer and use it in GitHub Desktop.

Revisions

  1. bohrqiu revised this gist Aug 25, 2014. No changes.
  2. bohrqiu revised this gist Aug 25, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765'
    MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765'



  3. bohrqiu revised this gist Aug 25, 2014. 2 changed files with 19 additions and 1 deletion.
    19 changes: 19 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765'



    transport

    这里通常使用套接字传输。但是在 Windows 平台上也可以使用共享内存传输。

    server

    如果值为 y,目标应用程序监听将要连接的调试器应用程序。否则,它将连接到特定地址上的调试器应用程序。

    address

    这是连接的传输地址。如果服务器为 n,将尝试连接到该地址上的调试器应用程序。否则,将在这个端口监听连接。

    suspend

    如果值为 y,目标 VM 将暂停,直到调试器应用程序进行连接。
    1 change: 0 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765'
  4. bohrqiu revised this gist Aug 25, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765
    MAVEN_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765'
  5. bohrqiu renamed this gist Aug 25, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. bohrqiu renamed this gist Aug 25, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. bohrqiu created this gist Aug 25, 2014.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8765