Replies: 2 comments
-
Hi @qhsong,
I suppose one could desire to automate creation of all of these config files, but that can be accomplished by an external script. Also, if you are content with debugging each process in a separate windows, you could just use VSCode Remote Development. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe this plan is not well considered currently and thanks give me those docs, I will try it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Cloud and Container is popular for developing but some C++ programmer now debugging via print logs. It is hard to use debugger in some scenarios:
* Program need depends other components, such as Kafka/Zookeeper/Redis etc, running program in local is hard working
* Program need running in cluster mode, one program may have multiple processes in different container, debugging those processes is hard.
So I think support debugging in containers is a good way to solve. vscode Node.js/Python debug plugin is already support it via network development, so use
lldb-server
may good way.Here is my plan:
* User write
docker-compose.yml
define running env and launch process via lldb-server and expose debug port for processes* vscode-lldb can attach some processes and debug them ( debugging in multiple processes in one editor may hard for UI, but user can open multiple vscode to debug)
* After finish debug, docker-compose stop all containers and clean docker-images
I think this maybe a killing feature for debugger.
Beta Was this translation helpful? Give feedback.
All reactions