mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
59cae81152
I've tried to install `node-inspector` using Node 8 and it looks like it is not supported. According to the [documentation of that tool](https://www.npmjs.com/package/node-inspector): > Since version 6.3, Node.js provides a built-in DevTools-based debugger which mostly deprecates Node Inspector (...). The built-in debugger (...) provides certain advanced features (...) that are too difficult to implement in Node Inspector. As [we require nodejs >= 6.9.0](https://github.com/ether/etherpad-lite#requirements), and as [`node-inspector` only works on Chrome and Opera](https://www.npmjs.com/package/node-inspector#debug), it looks like a good approach to remove the dependency of that tool and use Chrome DevTools directly. Besides, [there are other tools available](https://nodejs.org/en/docs/guides/debugging-getting-started/#inspector-clients) for debugging, if Chrome is not an option. This PR also allow external connections to the inspector, so Etherpad instances running on containers can also be debugged. [There are obviously some risks to leave that opened on public IPs](https://nodejs.org/en/docs/guides/debugging-getting-started/#exposing-the-debug-port-publicly-is-unsafe), but I assumed no instance would run on debug mode for the final user. |
||
---|---|---|
.. | ||
deb-src | ||
doc | ||
buildDebian.sh | ||
buildForWindows.sh | ||
checkAllPads.js | ||
checkPad.js | ||
cleanRun.sh | ||
convert.js | ||
convertSettings.json.template | ||
createRelease.sh | ||
debugRun.sh | ||
deletePad.js | ||
dirty-db-cleaner.py | ||
extractPadData.js | ||
importSqlFile.js | ||
installDeps.sh | ||
installOnWindows.bat | ||
migrateDirtyDBtoRealDB.js | ||
rebuildPad.js | ||
repairPad.js | ||
run.sh | ||
safeRun.sh | ||
updatePlugins.sh |