-
-
Save rodrigok/07fdfca2b29538ef716ea10f60cb0a71 to your computer and use it in GitHub Desktop.
Debug Rocket.Chat demo container
This file contains hidden or 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
# Terminal 1 | |
docker exec -it CONTAINER_ID /bin/bash | |
npm install node-inspector | |
kill -s USR1 PROCESS_ID | |
node_modules/node-inspector/bin/inspector.js --web-port=9000 | |
# Terminal 2 | |
docker exec -it CONTAINER_ID /bin/bash | |
curl -O https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tar.gz | |
tar -xvzf ngrok-stable-linux-amd64.tar.gz | |
./ngrok http 9000 | |
# Open the ngrok url informed on terminal and wait a lot :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment