[Mac Users] Debugging in VS Code

Has anyone gotten VS Code’s debugging with input from std::cin to work? I have tried code runner extension which only works with the release mode.