In order to be able to debug Node.js with TypeScript in a Docker container (or in general: debug remote) using WebStorm, compilerOptions in your tsconfig.json need to contain inlineSources and inlineSourceMap being set to true.
Docker Machine and Docker Compose work together pretty well in production, but when using them in development, you might experience some issues - some of which I'll describe in this post and show solutions for it.