Tag: iterm

在iterm中创build一个触发器,用匹配的参数打开一个应用程序

我有一个用例,当我在terminal上运行以下命令时 – node –debug-brk –inspect Javascript.js 它以debugging模式运行node.js并输出一个可以在chrome中打开的url进行debugging – ➜ temp node –debug-brk –inspect Javascript.js Debugger listening on port 9229. Warning: This is an experimental feature and could change at any time. To start debugging, open the following URL in Chrome: chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:9229/e7aae1e7-7952-41a4-9fe1-6bead23b791d 我创build了一个触发器chrome\-devtools.*$在我的术语中,并将命令设置为 open -a "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \0 这样的URL自动打开铬,但可悲的是它不工作。