Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"eleven-hairs-dream",
"eleven-kiwis-remain",
"fair-parrots-sleep",
"feat-debug-option",
"feat-login-path",
"feat-session-management",
"feat-session-multi-delete",
"fix-devtools-launch-option",
"honest-ads-tap",
"large-suns-buy",
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @heymp/scratchpad

## 1.0.0-next.24

### Minor Changes

- 7356914: Add a `debug` config option and `--debug` CLI flag for remote debugging.

When enabled, scratchpad auto-picks an available port starting from 9222 (or uses a port you specify) and prints the CDP WebSocket endpoint on launch. This replaces manually setting `--remote-debugging-port` and `--remote-allow-origins=*` in `launchOptions.args`.

```js
export default {
url: "https://example.com",
debug: true,
};
```

```bash
npx @heymp/scratchpad@next run --debug ./my-test-file.js
npx @heymp/scratchpad@next run --debug-port 9333 ./my-test-file.js
```

### Patch Changes

- 4942f1f: Delete multiple saved browser sessions at once.

Omitting session names on `session delete` now shows a checkbox picker so you can select several sessions before confirming. You can also pass multiple names on the command line:

```bash
npx @heymp/scratchpad@next session delete
npx @heymp/scratchpad@next session delete work personal
```

## 1.0.0-next.23

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@heymp/scratchpad",
"description": "Run TS/JS snippets in a locally",
"version": "1.0.0-next.23",
"version": "1.0.0-next.24",
"main": "src/lib/index.js",
"module": "src/lib/index.js",
"type": "module",
Expand Down
Loading