You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
The docker-compose up as a prelaunch does not work in Codespaces / VSCode. I think the debuggerPath and containerName are missing in .vscode/launch.json:
{
"name": "Docker (start Frontend)",
"type": "docker",
"request": "attach",
"preLaunchTask": "docker compose up",
"postDebugTask": "docker compose down",
"platform": "netCore",
"containerName": "start-leaderboardwebapi-1",
"netCore": {
"debuggerPath": "/remote_debugger/vsdbg"// This is the path to vsdbg in the container
},
"sourceFileMap": {
"/src": "${workspaceFolder}/start"
}
}
The text was updated successfully, but these errors were encountered:
This is true, but i.m.o. due to a bug in VS Code.
Omitting the debugger path triggers a download during launch.
Omitting the container name triggers a question.
Our workaround is to manually run the docker compose up task, and then launch this one.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The
docker-compose up
as a prelaunch does not work in Codespaces / VSCode. I think thedebuggerPath
andcontainerName
are missing in.vscode/launch.json
:The text was updated successfully, but these errors were encountered: