Skip to content

Commit

Permalink
Add config type debugpy for detect debugger port env var
Browse files Browse the repository at this point in the history
  • Loading branch information
gememma committed Jul 31, 2024
1 parent ed38041 commit c0a7ee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/137.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Accept config type debugpy for detecting debugger port
2 changes: 1 addition & 1 deletion src/debugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit c0a7ee9

Please sign in to comment.