Closed rotemironsrc closed 2 years ago
+1 , same here
+1, same here
Does it make a difference if you disable our new js-debugger by adding a "debug.javascript.usePreview": false
to your settings?
Nope, but i now know that the problem is, when you open the window to show all the folders, and then try to debug.
On Tue, Jul 28, 2020 at 11:22 AM Andre Weinand notifications@github.com wrote:
Does it make a difference if you disable our new js-debugger by adding a "debug.javascript.usePreview": false to your settings?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-recipes/issues/266#issuecomment-664853849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM37UTLL3BJ62TXZP5BRM4DR52DCRANCNFSM4O2HJBQA .
also it doesn't work with workspace.
On Tue, Jul 28, 2020 at 12:52 PM Rotem Levi rotem.levi@ironsrc.com wrote:
Nope, but i now know that the problem is, when you open the window to show all the folders, and then try to debug.
On Tue, Jul 28, 2020 at 11:22 AM Andre Weinand notifications@github.com wrote:
Does it make a difference if you disable our new js-debugger by adding a "debug.javascript.usePreview": false to your settings?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-recipes/issues/266#issuecomment-664853849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM37UTLL3BJ62TXZP5BRM4DR52DCRANCNFSM4O2HJBQA .
Yes, make sure to only open the Docker-TypeScript
folder in VS Code and not the enclosing recipes folder.
BTW, the Docker-TypeScript
recipe is outdated (and obsolete). It was created in a time when VS Code did not have universal remote development capabilities and only its Node.js debugger was able to debug remotely.
Today we recommend to use VS Code's excellent container development support.
With this, TypeScript development in a Docker container is not different than TypeScript development in a local setup.
i need a way to debug in workspace, i want to able to debug multiple services inside the docker from one window. is it possible?
On Tue, Jul 28, 2020 at 3:24 PM Andre Weinand notifications@github.com wrote:
Yes, make sure to only open the Docker-TypeScript folder in VS Code and not the enclosing recipes folder.
BTW, the Docker-TypeScript is outdated (and obsolete). It was created in a time when VS Code did not have universal remote development capabilities https://code.visualstudio.com/docs/remote/remote-overview and only its Node.js debugger was able to debug remotely. Today we recommend to use VS Code's excellent container development support https://code.visualstudio.com/docs/remote/containers. With this, TypeScript development in a Docker container is not different than TypeScript development in a local setup.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-recipes/issues/266#issuecomment-665008517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM37UTM6IFOGQA5ZRO6QCVTR527P3ANCNFSM4O2HJBQA .
If you use a multi-folder workspace setup for the different services, you can debug them in different debug sessions within one window.
how ? can you send me a reference ? i have a docker-compose file for all of my services i have a workspace containing separate folders for each service i have. in each folder i have .devcontainer folder with devcontainer.json and docker-compose and a dockerfile but i see the only way to debug each service i need to open each one in a new window.
Currently you can only connect to one container per VS Code window according to your documentation it is not possible yet.
Any update here?
As said already above:
The Docker-TypeScript
recipe is outdated (and obsolete). It was created in a time when VS Code did not have universal remote development capabilities and only its Node.js debugger was able to debug remotely.
Today we recommend to use VS Code's excellent container development support.
With this, TypeScript development in a Docker container is not different than TypeScript development in a local setup.
took your project as is, and breakpoint never get hit while debugging.
vscode June 2020 (version 1.47)