diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7dd45913..4dcf7539 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: with: fetch-depth: 0 - name: install towncrier - run: pip install towncrier + run: pip install towncrier==23.11.0 - name: verify newsfragment exist run: towncrier check diff --git a/changelog.d/137.fixed.md b/changelog.d/137.fixed.md new file mode 100644 index 00000000..581bd1a0 --- /dev/null +++ b/changelog.d/137.fixed.md @@ -0,0 +1 @@ +Accept config type debugpy for detecting debugger port \ No newline at end of file diff --git a/src/debugger.ts b/src/debugger.ts index 437ba62d..f5ff2f7f 100644 --- a/src/debugger.ts +++ b/src/debugger.ts @@ -167,7 +167,7 @@ async function main( if (config.type === "go") { config.env["MIRRORD_SKIP_PROCESSES"] = "dlv;debugserver;compile;go;asm;cgo;link;git;gcc;as;ld;collect2;cc1"; - } else if (config.type === "python") { + } else if (config.type === "python" || config.type === "debugpy") { config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "debugpy"; } else if (config.type === "java") { config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "javaagent";