vscode-dev-containers
vscode-dev-containers copied to clipboard
Provide a simple Next.js + Database example
I've been struggling to setup a simple Next.js app with two containers (Next.js serve and DB container) and have the debugger working properly. Ideally I want to start the container and have debugger attached to to the "app" container for easy debugging.
I've most of it working except for the debugger. I'm very confused with how to configure launch.json with Dev Containers. It's almost impossible to search for solution for this because all results are about launch.json.
I asked a StackOverflow question but nobody has answered it either: https://stackoverflow.com/questions/74030748/how-to-configure-vscode-dev-container-to-attach-to-running-next-js
Relates to: Remote - Containers