No mid server found for to enter a debug session on the hostIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } table tr td { padding: 15px; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Overview Error "No mid server found for to enter a debug session on the host" is thrown when trying to debug a pattern. Root Cause A MID server is automatically selected when debugging a pattern. The mid server selection algorithm is the same used for service mapping, as patterns were originally used for service mapping. In future version, the user will be able to select what MID server to be used. The following criteria is used to determine what MID server should be used for the debug session: The Service Mapping or ALL application must be specified on the MID Server.The endpoint IP address must fall within the IP range that you configure on the MID Server, or the ALL option must be selected on the MID Server.One of the supported Service Mapping capabilities (for new installs) must be configured on the MID Server, or the MID Server capability must be set to ALL. If there are no MID servers found based on the above criteria, the error will be thrown. Solution Open the MID server to be used for debugging and add proper IP Range (All or specific IP), Supported Application (All or Service Mapping), and Capability (All). Additional Information Search docs.servicenow.com for "MID Server selection" to find the most recent MID server selection algorithms. The following is for the London release: MID Server selection