To receive an SMS in Node.js with Twilio and HyperDev, first set up a Node.js server using Express and body-parser to parse the inbound HTTP request. Create a route to receive a POST request at /message, log the message details from Twilio to the console, and send an HTTP response back to Twilio with a reply message. Serve up a homepage and start the server. To set up Twilio, buy a number, create a new account, and plug in the URL of your Node app into the Messaging section. Send an SMS to your number and check out the HyperDev logs to see the inbound message details. The code can be simplified by logging only the body and from fields of the request body, and HyperDev will automatically save the file and restart the server when a change is made.