Skip to content

Commit e23179a

Browse files
authored
Add config type debugpy for detecting debugger port (#138)
* Add config type debugpy for detect debugger port env var * Pin towncrier to 23.11.0 to mitigate breaking update
1 parent ed38041 commit e23179a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626
- name: install towncrier
27-
run: pip install towncrier
27+
run: pip install towncrier==23.11.0
2828
- name: verify newsfragment exist
2929
run: towncrier check
3030

changelog.d/137.fixed.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Accept config type debugpy for detecting debugger port

src/debugger.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async function main(
167167

168168
if (config.type === "go") {
169169
config.env["MIRRORD_SKIP_PROCESSES"] = "dlv;debugserver;compile;go;asm;cgo;link;git;gcc;as;ld;collect2;cc1";
170-
} else if (config.type === "python") {
170+
} else if (config.type === "python" || config.type === "debugpy") {
171171
config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "debugpy";
172172
} else if (config.type === "java") {
173173
config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "javaagent";

0 commit comments

Comments
 (0)