Last active
August 15, 2017 11:41
-
-
Save zackferrofields/80ca9efef55ae12e126d7b7e65bce977 to your computer and use it in GitHub Desktop.
Chrome DevTools debug, a reverse-proxy NodeJS Docker 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
#!/bin/bash | |
# Chrome DevTools debug, | |
# a reverse-proxy NodeJS Docker container | |
# | |
# Example docker-compose file | |
# | |
# version: "3" | |
# services: | |
# proxy: | |
# image: nginx | |
# depends_on: | |
# - app | |
# ports: | |
# - "80:80" | |
# app: | |
# image: node | |
# | |
docker-compose up | |
docker-compose run -p 9229:9229 app node --inspect=0.0.0.0 index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment