{"id":368,"date":"2024-02-18T06:24:53","date_gmt":"2024-02-18T06:24:53","guid":{"rendered":"https:\/\/docs.sisus.co\/init-args\/?p=368"},"modified":"2026-10-02T14:01:21","modified_gmt":"2026-10-02T14:01:21","slug":"service-debugger","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/init-args\/services\/service-debugger\/","title":{"rendered":"4. Service Debugger"},"content":{"rendered":"<h1>Opening The Window<\/h1>\n<p>You can open the Service Debugger Window using the main menu item <strong>Window &gt; Analysis &gt; Service Debugger<\/strong>.<\/p>\n<h1>Using The Window<\/h1>\n<p>You can switch between seeing all currently active services and all currently loaded clients by pressing the <code>Services<\/code>\u00a0\/ <code>Clients<\/code> toggle in the the top toolbar.<\/p>\n<h2>Services<\/h2>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1140\" src=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-services.png\" alt=\"Service Debugger Window &gt; Services\" width=\"936\" height=\"304\" srcset=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-services.png 936w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-services-300x97.png 300w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-services-768x249.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/p>\n<p>The <strong>Services <\/strong>view lists the status of all currently active services that have been registered via <a href=\"https:\/\/docs.sisus.co\/init-args\/services\/service-attribute\/\">[Service] attributes<\/a>, <a href=\"https:\/\/docs.sisus.co\/init-args\/services\/service-tag\/\">Service Tags<\/a> and <a href=\"https:\/\/docs.sisus.co\/init-args\/services\/services-component\/\">Services Components<\/a>.<\/p>\n<p>The <strong>Service<\/strong> column lists the concrete type of the service object.<\/p>\n<p>If the service has been registered using <a href=\"https:\/\/docs.sisus.co\/init-args\/reference\/service-defining-type\/\">defining types<\/a> other than just its concrete type, then those is listed inside parentheses after the concrete type.<\/p>\n<p>The Availability column specifies which clients have access to the service. All global services registered using the [Service] attribute are available to clients Everywhere, while local services registered using Service Tags and Services Components can have more limited availability.<\/p>\n<p>You can click the name of a service in the list, to highlight the service in the Scene or Project hierarchy.<\/p>\n<p>You can also right-click a listed service to open a context menu with various additional options.<\/p>\n<h2>Clients<\/h2>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1201\" src=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/clients.png\" alt=\"\" width=\"844\" height=\"457\" srcset=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/clients.png 844w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/clients-300x162.png 300w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/clients-768x416.png 768w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/p>\n<p>The <strong>Clients<\/strong> view lists all currently loaded <a href=\"https:\/\/docs.sisus.co\/init-args\/clients\/monobehaviour-t\/\">components that are able to receive services<\/a>.<\/p>\n<h1>Debugging Builds<\/h1>\n<p>You can attach the Service Debugger to built applications to get real-time information about services and clients from them.<\/p>\n<p>To do this, create a <strong><a href=\"https:\/\/docs.unity3d.com\/Manual\/build-profiles-reference\">Development Build<\/a><\/strong>, launch it, and then in the Service Debugger window select the application from the target menu in the top bar.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1200\" src=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-target.png\" alt=\"\" width=\"393\" height=\"271\" srcset=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-target.png 393w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/service-debugger-target-300x207.png 300w\" sizes=\"(max-width: 393px) 100vw, 393px\" \/><\/p>\n<h2>Autoconnecting<\/h2>\n<p>To attach the Service Debugger automatically to a created build, enable <a href=\"https:\/\/docs.unity3d.com\/Manual\/build-profiles-reference\"><strong>Autoconnect Profiler<\/strong><\/a> in Build Profiles\u00a0and use <strong>Build And Run<\/strong> to create the build. This should cause the Service Debugger window to automatically connect to the created build.<\/p>\n<p>This can be used to attach the Service Debugger to <strong>Web<\/strong> builds.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-1198\" src=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/webgl-debugging.png\" alt=\"\" width=\"470\" height=\"158\" srcset=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/webgl-debugging.png 680w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/webgl-debugging-300x101.png 300w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-1199\" src=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/autoconnect.png\" alt=\"\" width=\"239\" height=\"160\" srcset=\"https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/autoconnect.png 347w, https:\/\/docs.sisus.co\/init-args\/wp-content\/uploads\/sites\/6\/2024\/02\/autoconnect-300x201.png 300w\" sizes=\"(max-width: 239px) 100vw, 239px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Opening The Window You can open the Service Debugger Window using the main menu item Window &gt; Analysis &gt; Service Debugger. Using The Window You can switch between seeing all currently active services and all currently loaded clients by pressing the Services\u00a0\/ Clients toggle in the the top toolbar. Services The Services view lists the ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/init-args\/services\/service-debugger\/\" title=\"read more\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/posts\/368"}],"collection":[{"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":14,"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"predecessor-version":[{"id":1208,"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/posts\/368\/revisions\/1208"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/init-args\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}