Debug无法运行:
报错:Cannot connect to VM
Socket operation on nonsocket: configureBlocking
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: unable to create socket: winsock error 87
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
原因:Debug端口被占用,重新设置netsh winsock reset,重启计算机就解决了。