Under the hood it will execute docker exec -i /vsdbg/vsdbg to list the processes within the container, but we’ll do it a little bit nicer: Well, thankfully the process picker dialogue is capable of executing a command to get the list of processes and can do it against a remote machine. NET Core process.īut wait, that’s running in a Docker container, how do I pick that process? This will cause VS Code to launch the process picker and allow us to pick our. We’re going to add a new entry to our launch.json file that is of "type": "coreclr" and "request": "attach". Now our image has the debugger installed into it we need to setup VS Code to attach to it. This downloads a sh script from and pipes it straight to /bin/sh for execution and provides a few arguments, most importantly the /vsdbg which is where the remote debugger will be extracted to. Curl -sSL | /bin/sh /dev/stdin -v latest -l /vsdbg
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |