Lots of good tips here including how to record from a specific application and send the app's audio to your speakers/headphone at the same time.
List the available audio input devices:
Start recording from one of them:
TODO: How to record both an application and your microphone at the same time (e.g. for streaming)? It seems like that link has the tools I need to figure it out.