vscode как заставить терминалы вовдить из std::cerr?

Ни отладочный терминал, ни msys-овский не выводят когда код типа std::cerr << ec.message() << '\n';.

launch.json:

"configurations": [
    {
        "name": "(Windows) Launch GTK",
        "type": "cppdbg",
        "request": "launch",
        "program": "${workspaceFolder}/build/proga.exe",
        "cwd": "C:/msys64/mingw64/bin", // Adjust this to your MSYS2 MinGW-w64 bin directory
        "environment": [
            {
                "name": "MSYSTEM",
                "value": "UCRT64" // "MINGW64"
            },
            {
                "name": "MSYSTEM_PREFIX",
                "value": "/ucrt64" // "/mingw64"
            }
        ],
        "stopAtEntry": false,
        "externalConsole": false,
        "MIMode": "gdb",
        "miDebuggerPath": "C:\\msys64\\ucrt64\\bin\\gdb.exe", // Adjust path to your gdb.exe
        "setupCommands": [
            {
                "description": "Enable pretty-printing for gdb",
                "text": "-enable-pretty-printing",
                "ignoreFailures": true
            }
        ]
    },

в settings.json:

"terminal.integrated.profiles.windows": {
        "MSYS2": {
            "path": "C:/msys64/msys2_shell.cmd",
            "args": [
                "-defterm",
                "-here",
                "-no-start",
                "-mingw64"
            ],
            "color": "terminal.ansiMagenta"
        },
        "UCRT64": {
            "path": "C:/msys64/msys2_shell.cmd",
            "args": [
                "-defterm",
                "-here",
                "-no-start",
                "-ucrt64"
            ],
            "color": "terminal.ansiCyan"
        }
    },

Ответы (0 шт):