-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
# remotejs | ||
remote execute js when debugger.paused | ||
|
||
## example | ||
```shell | ||
前置条件, 需要安装chrome | ||
|
||
# 查看帮助 | ||
./remotejs -h | ||
GLOBAL OPTIONS: | ||
--url value, -u value open url when open chrome, default blank url | ||
--chrome-path value, --cp value use specified chrome path | ||
--proxy value set proxy for browser | ||
--remote-debug-address value use remote chrome debugging | ||
--web-listen value web server port (default: "8088") | ||
--help, -h show help | ||
|
||
|
||
./remotejs # 打开一个空白的浏览器 | ||
./remotejs -u [URL] # 打开一个浏览器,并加载指定url | ||
./remotejs --remote-debug-address "ws://127.0.0.1:9222" # 指定一个远程浏览器(需要目标开remote-debugger-port) | ||
|
||
# 其他看 --help | ||
``` | ||
|
||
## Todos (下次一定的事情) | ||
- [ ] 多tab的debugPauseEvent捕获 | ||
- [ ] 配置文件 | ||
- [ ] 其他 |