java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 -jar  screensnap3.jar
screensnap3.jar(需要调试的程序)address(端口可以自定义)