2

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

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you! Hope to get future updates about this soon!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.