#全局命令
TSW:表示TSW所在目录,如: /usr/local/services/TSW-1.0
node --inspect TSW
node --inspect-brk TSW
chrome://inspect
node --inspect-brk=0.0.0.0:8080 TSW
chrome://inspect
javaScript file
填入 TSW/index.js
TSW/bin/proxy/startup.sh
/etc/node_args.ini
,一行,顶格写,1.1.1
新增--icu-data-dir=/home/some --no-deprecation
TSW/bin/proxy/shutdown.sh
TSW/bin/proxy/restart.sh
TSW/bin/proxy/reload.sh
curl 127.0.0.1:12701/reload
TSW/bin/proxy/top100.sh
TSW/bin/proxy/dump.config.sh
TSW/bin/proxy/dump.global.sh
# build
docker build -t tsw .
# run
docker run -v configure_dir:/data/release/node_modules -p 8080:80 tsw