<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MoriKen254</author_name>
  <author_url>https://blog.hatena.ne.jp/MoriKen254/</author_url>
  <blog_title>MoriKen's Journal</blog_title>
  <blog_url>https://www.moriken254.com/</blog_url>
  <categories>
  </categories>
  <description>下記事では、Docker コンテナ内から直接デバッグ対象のプログラムをデバッグ実行する方法を記載しました。 www.moriken254.com ところが、ユースケースというのは増えるものです。コンテナで実行しているプログラムを、リモートからデバッグしたいという場面もあったりします。 その方法も忘れないうちに。 前提 すでに対象の Docker コンテナは起動済みであるとします。また、「ローカル側から」アタッチしてコードをデバッグすることを想定します。 リモートマシンとローカルマシンでの環境構築は、下記を参考に行いました。 qiita.com リモート側で大事なこと コード内に直接下記を挿入し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.moriken254.com%2Fentry%2F2022%2F05%2F02%2F122156&quot; title=&quot;起動中の Docker コンテナに VSCode から接続して Python コードを「ローカル側から」デバッグする - MoriKen&amp;#39;s Journal&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/M/MoriKen254/20220502/20220502113517.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-02 12:21:56</published>
  <title>起動中の Docker コンテナに VSCode から接続して Python コードを「ローカル側から」デバッグする</title>
  <type>rich</type>
  <url>https://www.moriken254.com/entry/2022/05/02/122156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
