actor-debugger 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,14 +6,14 @@ container URL** — so you open one link in your own browser and debug. No wstun
6
6
  no rebuild of your source, and **no browser in the Actor**.
7
7
 
8
8
  ```dockerfile
9
- # auto-detect the Actor's entrypoint:
10
- CMD ["npx", "actor-debugger"]
11
-
12
- # or point at a specific entry:
13
- CMD ["npx", "actor-debugger", "dist/main.js"]
9
+ # Get the package
10
+ RUN npm install actor-debugger --min-release-age=0
14
11
 
15
12
  # pause on the first line until a debugger attaches (for short-lived Actors):
16
13
  CMD ["npx", "actor-debugger", "--brk"]
14
+
15
+ # or point at a specific entry:
16
+ CMD ["npx", "actor-debugger", "dist/main.js"]
17
17
  ```
18
18
 
19
19
  ## How it works
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "actor-debugger",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Drop-in remote debugger for Apify Node/TS Actors: one Dockerfile CMD line launches your Actor under the Node inspector, reachable over the run's container URL. No local setup, no rebuild of your own code.",
5
5
  "type": "module",
6
6
  "bin": {