From 7ff280a48dc28b0db7b3708223e6dca4dfa6cb06 Mon Sep 17 00:00:00 2001 From: Joe Yeager Date: Tue, 14 Jan 2025 16:46:18 -0800 Subject: [PATCH] chore: Add a debugging command Adds a debugging command to be used for local development of the CLI. The command sets the http* libraries to debugging mode and starts the CLI in debugging mode. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 06cc0c486..d27048d5a 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "circular-deps": "yarn madge --circular .", "release": "yarn ts-node ./scripts/release.ts release", "hs": "yarn build && node ./dist/bin/hs", + "hs-debug": "yarn build && NODE_DEBUG=http* node --inspect-brk ./dist/bin/hs", "update-ldl": "yarn add --exact @hubspot/local-dev-lib@latest" }, "lint-staged": {