vscode-dev-containers icon indicating copy to clipboard operation
vscode-dev-containers copied to clipboard

Provide a simple Next.js + Database example

Open mohsen1 opened this issue 3 years ago • 0 comments

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

mohsen1 avatar Oct 27 '22 15:10 mohsen1