change baseurl

This commit is contained in:
abbycin 2019-05-10 11:21:19 +08:00
parent 0c7dbb95f7
commit c6d6906170
2 changed files with 6 additions and 4 deletions

View File

@ -16,14 +16,16 @@
] ]
} }
``` ```
- 可定制的字段有`port`, `runtimeExecutable`和`program`。 可定制的字段有`port`, `runtimeExecutable`和`program`。
- `port`为任意未占用的端口号。 - `port`为任意未占用的端口号。
- `runtimeExecutable`为JavaScript引擎路径(如果没有在环境变量中) - `runtimeExecutable`为JavaScript引擎路径(如果没有在环境变量中)
`program`会获取当前tab打开的文件的路径`${workspaceFolder}`表示当前的工作目录,你也可以指定脚本的绝对路径。
- `program`会获取当前tab打开的文件的路径`${workspaceFolder}`表示当前的工作目录,你也可以指定脚本的绝对路径。
--- ---
截图 截图
![screenshot](./assets/screenshot.jpg) ![screenshot](./assets/screenshot.jpg)

View File

@ -32,9 +32,9 @@
"scripts": { "scripts": {
"postinstall": "node ./node_modules/vscode/bin/install", "postinstall": "node ./node_modules/vscode/bin/install",
"build": "node ./build.js", "build": "node ./build.js",
"package": "vsce package --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/src/master/", "package": "vsce package --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/raw/master/",
"unpublish": "vsce unpublish", "unpublish": "vsce unpublish",
"publish": "vsce publish --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/src/master/" "publish": "vsce publish --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/raw/master/"
}, },
"dependencies": { "dependencies": {
"await-notify": "^1.0.1", "await-notify": "^1.0.1",