diff --git a/package.json b/package.json index 6ccfc0d..847d160 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "@solana/transactions": "2.0.0-canary-20241012053956" }, "devDependencies": { - "@types/node": "^20.12.7" + "@types/node": "^20.12.7", + "why-is-node-running": "^3.2.0" } } \ No newline at end of file diff --git a/ping-thing-client.mjs b/ping-thing-client.mjs index 4d006df..bc60e23 100644 --- a/ping-thing-client.mjs +++ b/ping-thing-client.mjs @@ -1,3 +1,7 @@ +import whyIsNodeRunning from 'why-is-node-running'; +// To access this at any time, attach the debugger, press pause, and type `whyIsNodeRunning()`. +globalThis.whyIsNodeRunning = whyIsNodeRunning; + import { createTransactionMessage, pipe,