-
-
Save geekgonecrazy/12095d7639d3422a7cfcdeb32936068b to your computer and use it in GitHub Desktop.
Debug Rocket.Chat demo container
This file contains 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 | |
curl -O https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tar.gz && tar -xvzf ngrok-stable-linux-amd64.tar.gz | |
kill -s USR1 $(pidof node) | |
node_modules/node-inspector/bin/inspector.js --web-port=9000 | |
# Press ctrl+z | |
bg | |
./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