Specifically, I want to run python-m cProfile -o file/.../ptsvd_launcher.py --... myScript.py
Is there a launch configuration that can do that?
You can try creating a launch configuration with:
"module": "cProfile",
"args": ["-o", "file", <path>, "--", "myScript.py"]