Reputation: 475
I have a quite complex bash script on Linux which prepares all the structures and parameters in turn fed to a Python command. However, I would like to use the Visual Studio debugger on this Python command while running it inside the bash script.
Is this possible? How can I start a debug session from the bash script?
P.S.: I've found out a similar issue for C++ https://github.com/Microsoft/vscode-cpptools/issues/3502#issuecomment-48637124
Upvotes: 2
Views: 1135
Reputation: 15990
There currently isn't a way to have the Python debugger in VS Code execute a Python script because the debugger itself needs to start the Python code to attach to it properly.
You can vote for this feature request to get the functionality you desire.
Upvotes: 1