Skip to content

Commit

Permalink
Fix config type
Browse files Browse the repository at this point in the history
  • Loading branch information
gememma committed Dec 18, 2024
1 parent 5f29349 commit ca80781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debugger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async function main(
config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "debugpy";
} else if (config.type === "java") {
config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "javaagent";
} else if (config.type === "node") {
} else if (config.type === "pwa-node") {
// if any of the --inspect flags are used with node, the port for inspection should be ignored
// see: https://nodejs.org/en/learn/getting-started/debugging#enable-inspector
config.env["MIRRORD_DETECT_DEBUGGER_PORT"] = "nodeinspector";
Expand Down

0 comments on commit ca80781

Please sign in to comment.