{"record":{"id":"2ade09e0ed070012","repo":"JetBrains/intellij-community","slug":"pid-is-not-specified","errorCode":null,"errorMessage":"Pid is not specified","messagePattern":"Pid is not specified","errorType":"exception","errorClass":"CantRunException","httpStatus":null,"severity":"error","filePath":"java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java","lineNumber":732,"sourceCode":"      }\n    }\n    return null;\n  }\n\n  private VirtualMachine createVirtualMachineInt() throws ExecutionException {\n    try {\n      if (myArguments != null) {\n        throw new IOException(JavaDebuggerBundle.message(\"error.debugger.already.listening\"));\n      }\n\n      final String port = myConnection.getDebuggerAddress();\n\n      Connector connector = getConnector();\n      myArguments = connector.defaultArguments();\n      if (myConnection instanceof PidRemoteConnection && !((PidRemoteConnection)myConnection).isFixedAddress()) {\n        String pid = ((PidRemoteConnection)myConnection).getPid();\n        if (StringUtil.isEmpty(pid)) {\n          throw new CantRunException(JavaDebuggerBundle.message(\"error.no.pid\"));\n        }\n        setConnectorArgument(\"pid\", pid);\n      }\n      else if (myConnection.isServerMode()) {\n        if (port == null) {\n          throw new CantRunException(JavaDebuggerBundle.message(\"error.no.debug.listen.port\"));\n        }\n        String debuggerHostName = myConnection.getDebuggerHostName();\n        if (debuggerHostName != null) {\n          setConnectorArgument(\"localAddress\", debuggerHostName);\n        }\n      }\n      else { // is client mode, should attach to already running process\n        if (myConnection.isUseSockets()) {\n          String debuggerHostName = myConnection.getDebuggerHostName();\n          if (debuggerHostName != null) {\n            setConnectorArgument(\"hostname\", debuggerHostName);\n          }","sourceCodeStart":714,"sourceCodeEnd":750,"githubUrl":"https://github.com/JetBrains/intellij-community/blob/be881553f2a76ac8b4ea53950d93f0de78295c19/java/debugger/impl/src/com/intellij/debugger/engine/DebugProcessImpl.java#L714-L750","documentation":"Error \"Pid is not specified\" thrown in JetBrains/intellij-community.","triggerScenarios":"An attach-by-PID debug session is started with an empty PID field.","commonSituations":"The PID field of a 'PID attach' remote configuration was left blank.","solutions":["Enter the PID of the target JVM process in the debug configuration.","Use jps -l to list running Java processes and copy the correct PID."],"exampleFix":"jps -l  # find the PID, then paste it into the 'PID' field of the attach debug configuration.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"be881553f2a76ac8b4ea53950d93f0de78295c19","analyzedAt":"2026-08-14T14:13:06.425Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}