{"id":832,"date":"2021-11-24T06:14:24","date_gmt":"2021-11-24T06:14:24","guid":{"rendered":"https:\/\/bruceng.com\/dev\/?p=832"},"modified":"2021-12-01T06:03:46","modified_gmt":"2021-12-01T06:03:46","slug":"configured-debug-type-pwa-chrome-is-not-supported","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=832","title":{"rendered":"Configured debug type &#8216;pwa-chrome&#8217; is not supported when debugging Cordova app in Visual Studio Code"},"content":{"rendered":"\n<p>When trying to debug an Ionic Angular application in an older version of Visual Studio Code, this error shows up.<\/p>\n\n\n\n<p>Follow the checklist<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Use a Visual Studio Code version that supports debugging, if your code is too old newer versions will stop working.<\/li><li>Make sure the Chrome Debugger extension is installed and enabled, if it&#8217;s greyed out in the Extension list, uninstall and reinstall it.<\/li><li>Do the same thing for Cordova Tools extension, if you can&#8217;t find it, use an even older version of VSC.<ul><li>The safest bet is to use the version used to develop the app.<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>The best way is to update your code base to newer versions of languages, frameworks and libraries so you can use newer tools to debug the application. Otherwise this is a workaround.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When trying to debug an Ionic Angular application in an older version of Visual Studio Code, this error shows up. Follow the checklist Use a Visual Studio Code version that supports debugging, if your code is too old newer versions will stop working. Make sure the Chrome Debugger extension is installed and enabled, if it&#8217;s &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=832\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Configured debug type &#8216;pwa-chrome&#8217; is not supported when debugging Cordova app in Visual Studio Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[79,82,17,80],"class_list":["post-832","post","type-post","status-publish","format-standard","hentry","category-problems","tag-angular","tag-cordova","tag-debug","tag-ionic"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=832"}],"version-history":[{"count":3,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/832\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/832\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}