{"id":9441,"date":"2023-03-01T18:26:32","date_gmt":"2023-03-01T17:26:32","guid":{"rendered":"https:\/\/via-internet.de\/blog\/?p=9441"},"modified":"2023-03-01T18:28:27","modified_gmt":"2023-03-01T17:28:27","slug":"troubleshooting-debugging-a-fastapi-app-in-wsl-docker","status":"publish","type":"post","link":"https:\/\/via-internet.de\/blog\/2023\/03\/01\/troubleshooting-debugging-a-fastapi-app-in-wsl-docker\/","title":{"rendered":"Troubleshooting &#8211; Debugging A FastAPI App in WSL \/ Docker"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">With VS Code 1.75.1 you could get this error message.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"418\" height=\"120\" src=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/error.png\" alt=\"\" class=\"wp-image-9442\" srcset=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/error.png 418w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/error-300x86.png 300w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">What helped in my environment was, to patch an extension file in the WSL.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$HOME\/.vscode-server\/extensions\/ms-python.python-2023.5.10591006\/pythonFiles\/lib\/python\/debugpy\/adapter\/clients.py<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"233\" src=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/solution.png\" alt=\"\" class=\"wp-image-9443\" srcset=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/solution.png 873w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/solution-300x80.png 300w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2023\/03\/solution-768x205.png 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>With VS Code 1.75.1 you could get this error message. What helped in my environment was, to patch an extension file in the WSL.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,22,145,84],"tags":[],"class_list":["post-9441","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-docker","category-troubleshooting","category-visual-studio-code"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/9441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/comments?post=9441"}],"version-history":[{"count":2,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/9441\/revisions"}],"predecessor-version":[{"id":9445,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/9441\/revisions\/9445"}],"wp:attachment":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/media?parent=9441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/categories?post=9441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/tags?post=9441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}