Activate VS Code actions from command line during startup #60070
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
*duplicate
Issue identified as a duplicate of another issue(s)
The problem I am trying to solve is:
Use VS code as JIT debugger for .NET
I can probably solve this problem if I add vs code executable path to Windows Registry. But I would like to see a more cross-platform solution.
The way I would like to solve this problem is in such a way that it can open the door to automation and boost productivity with VS code.
My use case
The way I see this working is that my .NET code would be as such:
Some Considerations
The command line can be specific to .NET Core as a minimum-viable-product (e.g.
Code.exe dotnet attach 12345
). But if we add the capability to execute the VS Code actions on initialization then this can support aMacro
(#4490) orVS Code Script
nicely.Common functionality can be set aside in a VS Code Script file, e.g.
datalake_env_setup.vscs
:followed by
Code.exe --folder-uri "C:/my_folder/" --execute "datalake_env_setup.vscs"
I am not sure if this is possible via an extension. I would love to get feedback and offer my support.
Thanks,
The text was updated successfully, but these errors were encountered: