title: How to debug react-scripts hanging?
body: <p>I'm deploying the create-react-app using docker on AWS ECS.  I'm testing using dockerhub image that's pretty much the stock version of create-react-app.  When launch the task, it's able to pull the container image, launch the docker container, however it hangs on running react-scripts start.  All I can see in the container logs are:</p>
  
  <pre><code>01:51:38 npm info it worked if it ends with ok
  01:51:38 npm info using npm@2.15.11
  01:51:38 npm info using node@v4.7.3
  01:51:42 npm info prestart test-react@0.1.0
  01:51:42 npm info start test-react@0.1.0
  01:51:42 &gt; test-react@0.1.0 start /usr/src/app
  01:51:42 &gt; react-scripts start
  01:52:06 Starting the development server...
  </code></pre>
  
  <p>It just hangs there and never finishes.  However, when I manually run the docker container, everything works fine:</p>
  
  <pre><code>Starting the development server...
  Compiled successfully!
  
  The app is running at:
  
    http://localhost:3000/
  </code></pre>
  
  <p>My Dockerfile is:</p>
  
  <pre><code>FROM node:4-onbuild
  
  # Prepare app directory
  RUN mkdir -p /usr/src/app
  ADD . /usr/src/app
  
  # Install dependencies
  WORKDIR /usr/src/app
  RUN npm install
  
  # Build the app
  RUN npm build
  
  # Expose the app port
  EXPOSE 3000
  
  # Start the app
  CMD npm start --loglevel debug
  </code></pre>
  
  <p>My package.json:</p>
  
  <pre><code>    "scripts": {
        "start": "react-scripts start",
        "build": "react-scripts build",
        "test": "react-scripts test --env=jsdom",
        "eject": "react-scripts eject"
      }
    }
  </code></pre>
  
  <p>Looking for advice on how to debug or if there's additional logging I can do, thanks!</p>