{"id":1204,"date":"2021-03-28T23:03:07","date_gmt":"2021-03-28T14:03:07","guid":{"rendered":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/"},"modified":"2021-03-28T23:17:33","modified_gmt":"2021-03-28T14:17:33","slug":"remote-debugging","status":"publish","type":"docs","link":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/","title":{"rendered":"Remote debugging"},"content":{"rendered":"\n<p>You can use Google Chrome to remotely view the console log of Translator++. This will allow us to view the logs even when the Translator++ is closing on it&#8217;s own (i\/e crashes)<\/p>\n\n\n\n<p>follow the following steps :<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. Open Command Prompt<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">2. Run Translator++ from command prompt with the following command:<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">\"Translator++.exe\" --remote-debugging-port=8888<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"155\" src=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png\" alt=\"\" class=\"wp-image-1207\" srcset=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png 769w, https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image-300x60.png 300w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">3. Open your Google Chrome, and enter this address :<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">chrome:\/\/inspect\/#devices<\/pre>\n\n\n\n<p>A remote debugging options will open.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">4. Click Configure button, add the following line into the &#8220;Target discovery settings&#8221; :<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">localhost:8888<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging_port.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"313\" height=\"332\" src=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging_port.jpg\" alt=\"\" class=\"wp-image-1208\" srcset=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging_port.jpg 313w, https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging_port-283x300.jpg 283w\" sizes=\"auto, (max-width: 313px) 100vw, 313px\" \/><\/a><\/figure>\n\n\n\n<p>and then click &#8220;Done&#8221;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">5. After several seconds, two options will apper in the Remote Target.<\/h4>\n\n\n\n<p>Click inspect to the translator++ chrome-extension:\/\/\u2026.\/www\/trans.html<br>A remote debugging window will open. Now, this remote debugging will stay open even when Translator++ closes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"510\" src=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging.jpg\" alt=\"\" class=\"wp-image-1206\" srcset=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging.jpg 849w, https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging-300x180.jpg 300w, https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/Translator_remote_debugging-768x461.jpg 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/figure>\n","protected":false},"featured_media":0,"parent":1203,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1204","docs","type-docs","status-publish","hentry"],"acf":{"post_info":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Remote debugging &#8211; Dreamsavior<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remote debugging &#8211; Dreamsavior\" \/>\n<meta property=\"og:description\" content=\"You can use Google Chrome to remotely view the console log of Translator++. This will allow us to view the&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/\" \/>\n<meta property=\"og:site_name\" content=\"Dreamsavior\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-28T14:17:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/\",\"url\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/\",\"name\":\"Remote debugging &#8211; Dreamsavior\",\"isPartOf\":{\"@id\":\"https:\/\/dreamsavior.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png\",\"datePublished\":\"2021-03-28T14:03:07+00:00\",\"dateModified\":\"2021-03-28T14:17:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#primaryimage\",\"url\":\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png\",\"contentUrl\":\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png\",\"width\":769,\"height\":155},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dreamsavior.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Translator++ Developer&#8217;s Guide\",\"item\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Debugging\",\"item\":\"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Remote debugging\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dreamsavior.net\/#website\",\"url\":\"https:\/\/dreamsavior.net\/\",\"name\":\"Dreamsavior\",\"description\":\"Saving dreams since 2006\",\"publisher\":{\"@id\":\"https:\/\/dreamsavior.net\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dreamsavior.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dreamsavior.net\/#organization\",\"name\":\"Dreamsavior\",\"url\":\"https:\/\/dreamsavior.net\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/dreamsavior.net\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2019\/06\/DV-patreon.png\",\"contentUrl\":\"https:\/\/dreamsavior.net\/wp-content\/uploads\/2019\/06\/DV-patreon.png\",\"width\":600,\"height\":600,\"caption\":\"Dreamsavior\"},\"image\":{\"@id\":\"https:\/\/dreamsavior.net\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remote debugging &#8211; Dreamsavior","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/","og_locale":"en_US","og_type":"article","og_title":"Remote debugging &#8211; Dreamsavior","og_description":"You can use Google Chrome to remotely view the console log of Translator++. This will allow us to view the&hellip;","og_url":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/","og_site_name":"Dreamsavior","article_modified_time":"2021-03-28T14:17:33+00:00","og_image":[{"url":"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/","url":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/","name":"Remote debugging &#8211; Dreamsavior","isPartOf":{"@id":"https:\/\/dreamsavior.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#primaryimage"},"image":{"@id":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#primaryimage"},"thumbnailUrl":"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png","datePublished":"2021-03-28T14:03:07+00:00","dateModified":"2021-03-28T14:17:33+00:00","breadcrumb":{"@id":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#primaryimage","url":"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png","contentUrl":"https:\/\/dreamsavior.net\/wp-content\/uploads\/2021\/03\/image.png","width":769,"height":155},{"@type":"BreadcrumbList","@id":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/remote-debugging\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dreamsavior.net\/"},{"@type":"ListItem","position":2,"name":"Translator++ Developer&#8217;s Guide","item":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/"},{"@type":"ListItem","position":3,"name":"Debugging","item":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/"},{"@type":"ListItem","position":4,"name":"Remote debugging"}]},{"@type":"WebSite","@id":"https:\/\/dreamsavior.net\/#website","url":"https:\/\/dreamsavior.net\/","name":"Dreamsavior","description":"Saving dreams since 2006","publisher":{"@id":"https:\/\/dreamsavior.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dreamsavior.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/dreamsavior.net\/#organization","name":"Dreamsavior","url":"https:\/\/dreamsavior.net\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/dreamsavior.net\/#\/schema\/logo\/image\/","url":"https:\/\/dreamsavior.net\/wp-content\/uploads\/2019\/06\/DV-patreon.png","contentUrl":"https:\/\/dreamsavior.net\/wp-content\/uploads\/2019\/06\/DV-patreon.png","width":600,"height":600,"caption":"Dreamsavior"},"image":{"@id":"https:\/\/dreamsavior.net\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/docs\/1204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/comments?post=1204"}],"version-history":[{"count":1,"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/docs\/1204\/revisions"}],"predecessor-version":[{"id":1209,"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/docs\/1204\/revisions\/1209"}],"up":[{"embeddable":true,"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/docs\/1203"}],"next":[{"title":"Write console logs into a file","link":"https:\/\/dreamsavior.net\/docs\/translator-developers-guide\/debugging\/write-console-logs-into-a-file\/","href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/docs\/1816"}],"wp:attachment":[{"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/media?parent=1204"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/dreamsavior.net\/wp-json\/wp\/v2\/doc_tag?post=1204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}