{"id":164,"date":"2019-04-28T05:40:15","date_gmt":"2019-04-28T05:40:15","guid":{"rendered":"https:\/\/docs.sisus.co\/power-inspector\/?p=164"},"modified":"2021-03-24T18:12:15","modified_gmt":"2021-03-24T18:12:15","slug":"context-menu-debugging-items","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/power-inspector\/extending-power-inspector\/context-menu-debugging-items\/","title":{"rendered":"03. Context Menu Debugging Items"},"content":{"rendered":"<p>With <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/extending-power-inspector\/development-mode\/\">development mode enabled<\/a><\/strong>, if you right-click a <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/drawer\/\">drawer<\/a> while holding down the <strong>ctrl<\/strong> key (<strong>cmd<\/strong> key on macOS), a new group called &#8220;<strong>Debugging<\/strong>&#8221; will appear in the context menu. This menu will contain a number of additional menu items that can be useful when you&#8217;re <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/extending-power-inspector\/creating-new-drawers\/\">creating new drawers<\/a><\/strong>.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-165\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/ContextMenuDebuggingItems.png\" alt=\"\" width=\"674\" height=\"432\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ContextMenuDebuggingItems.png 674w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ContextMenuDebuggingItems-300x192.png 300w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ContextMenuDebuggingItems-150x96.png 150w\" sizes=\"(max-width: 674px) 100vw, 674px\" \/><\/p>\n<p>The first item, &#8220;<strong>Debugging\/Edit [NameOfDrawer].cs&#8221;<\/strong>, can be particularly useful if you want to figure out which drawer class is responsible for drawing a certain part of the Inspector View, or want to learn how something works by examining its code.<\/p>\n<blockquote><p><strong>Note:<\/strong> It is not recommended to do make direct edits to any of the drawer scripts that ship with Power Inspector, as this can result in conflicts when updates to Power Inspector change the same files. See <a href=\"https:\/\/docs.sisus.co\/power-inspector\/extending-power-inspector\/modifying-existing-drawers\/\">modifying drawers<\/a> to learn more.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>With development mode enabled, if you right-click a drawer while holding down the ctrl key (cmd key on macOS), a new group called &#8220;Debugging&#8221; will appear in the context menu. This menu will contain a number of additional menu items that can be useful when you&#8217;re creating new drawers. The first item, &#8220;Debugging\/Edit [NameOfDrawer].cs&#8221;, can ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/power-inspector\/extending-power-inspector\/context-menu-debugging-items\/\" title=\"read more\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/164"}],"collection":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":13,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":1856,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/164\/revisions\/1856"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}