debug-run 0.5.4 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,10 +18,14 @@ Use the `debug-run` CLI tool to programmatically debug applications via the Debu
18
18
 
19
19
  ## Prerequisites
20
20
 
21
- Ensure debug-run is installed in the project:
21
+ debug-run is available via npx (no installation required) or can be installed globally:
22
22
 
23
23
  ```bash
24
- npm install # in the debug-run directory
24
+ # Run directly with npx
25
+ npx debug-run --help
26
+
27
+ # Or install globally
28
+ npm install -g debug-run
25
29
  ```
26
30
 
27
31
  Check available adapters:
package/dist/index.cjs CHANGED
@@ -3066,6 +3066,7 @@ var path = __toESM(require("node:path"), 1);
3066
3066
  var os = __toESM(require("node:os"), 1);
3067
3067
  var import_promises2 = require("node:stream/promises");
3068
3068
  var import_node_stream = require("node:stream");
3069
+ var import_node_url = require("node:url");
3069
3070
  var execAsync = (0, import_node_util.promisify)(import_node_child_process.exec);
3070
3071
  var NETCOREDBG_VERSION = "3.1.3-1062";
3071
3072
  var NETCOREDBG_BASE_URL = `https://github.com/Samsung/netcoredbg/releases/download/${NETCOREDBG_VERSION}`;
@@ -3119,8 +3120,7 @@ function getDownloadUrl() {
3119
3120
  return `${NETCOREDBG_BASE_URL}/${filename}`;
3120
3121
  }
3121
3122
  function getAdaptersDir() {
3122
- const currentFileUrl = __importMetaUrl;
3123
- const currentFilePath = new URL(currentFileUrl).pathname;
3123
+ const currentFilePath = (0, import_node_url.fileURLToPath)(__importMetaUrl);
3124
3124
  const packageRoot = path.resolve(path.dirname(currentFilePath), "..", "..");
3125
3125
  return path.join(packageRoot, "bin", "adapters");
3126
3126
  }
@@ -7210,7 +7210,8 @@ function getSkillTargets(options) {
7210
7210
  }
7211
7211
  async function installSkill(options = {}) {
7212
7212
  const path12 = await import("node:path");
7213
- const moduleDir = path12.dirname(new URL(__importMetaUrl).pathname);
7213
+ const { fileURLToPath: fileURLToPath2 } = await import("node:url");
7214
+ const moduleDir = path12.dirname(fileURLToPath2(__importMetaUrl));
7214
7215
  const possibleSources = [
7215
7216
  path12.join(moduleDir, "..", ".claude", "skills", "debug-run"),
7216
7217
  path12.join(moduleDir, ".claude", "skills", "debug-run"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "debug-run",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "CLI tool enabling AI agents to programmatically debug code via DAP",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",