Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to debug container #337

Open
esoubiran-aneo opened this issue Apr 28, 2023 · 2 comments
Open

Update docs to debug container #337

esoubiran-aneo opened this issue Apr 28, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@esoubiran-aneo
Copy link
Contributor

Here the content migrated from ArmoniK

Debug Informations to save the day

Debug C# container with Visual Studio Code

Steps

  • Compile the project on Debug mode with the flag BUILD_TYPE=Debug
  • Install Kubernetes extension in VSC
  • install vsdbg in the image either by adding the following command in the Dockerfile or executing it after connecting to the running image
curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l /vsdbg
  • Go in the Kubernets tab, select the node containing the code to debug and Right Click -> Debug (Attach)
  • You can debug in the Debug tab !

Sources

https://www.hanselman.com/blog/remote-debugging-a-net-core-linux-app-in-wsl2-from-visual-studio-on-windows
https://code.visualstudio.com/docs/remote/attach-container
https://okteto.com/blog/remote-kubernetes-development/

@esoubiran-aneo esoubiran-aneo added the documentation Improvements or additions to documentation label Apr 28, 2023
@esoubiran-aneo esoubiran-aneo self-assigned this Apr 28, 2023
@aneojgurhem
Copy link
Contributor

This should still work

@esoubiran-aneo
Copy link
Contributor Author

esoubiran-aneo commented Jul 16, 2023

Yes, it's content from old docs in ArmoniK that we have to move to ArmoniK.Core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants