-
-
Notifications
You must be signed in to change notification settings - Fork 2
exec -it {containerName} pidof dotnet is returning multiples PIDs #1
Comments
Do you have multiple |
Yes i am running a container with integration tests in debug mode, as far as i can see, the container starts with 4 dotnet process ... I know the process number because of the output i get from running the container IntegrationTests | Build started, please wait...
IntegrationTests | Build completed.
IntegrationTests |
IntegrationTests | Test run for /app/tests/POCApplication.IntegrationTests/bin/Debug/netcoreapp2.2/POCApplication.IntegrationTests.dll(.NETCoreApp,Version=v2.2)
IntegrationTests | Microsoft (R) Test Execution Command Line Tool Version 15.9.0
IntegrationTests | Copyright (c) Microsoft Corporation. All rights reserved.
IntegrationTests |
IntegrationTests | Starting test execution, please wait...
IntegrationTests | Host debugging is enabled. Please attach debugger to testhost process to continue.
IntegrationTests | Process Id: 82, Name: dotnet
IntegrationTests | Waiting for debugger attach...
IntegrationTests | Process Id: 82, Name: dotnet
``` |
I updated extension to have Process ID selection. |
It installs fine, but it's not showing up in the menu. v0.1 works. |
@nzp Could you let me know what VS version do you use? Have no idea how that could happen... |
I am using visual studio 2017 and running into the same issue. |
It would be nice if you could update it to show both pid and script created the process when selecting container process. |
@deyishi
? |
So when you do It lists containers and the command created them. Could that command be added to container process Id selection drop down? It hard to tell which process to debug just by Id alone. |
Well, actually I have no idea how to do that. Problem is that |
Hey guys, I think I solved this problem, I can send a PR. |
Hi, thanks for the extension !
While testing it, i run through a parsing error and found out it maybe be from the command
exec -it {containerName} pidof dotnet
returning many PIDsAccording to this putting a '-s' parameter would fix it
this way
exec -it {containerName} pidof -s dotnet
The text was updated successfully, but these errors were encountered: