Это старая версия документа!


Visual Studio Code

Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template

[38052:0708/125749.860972:ERROR:node_bindings.cc(162)] Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template
[0708/125749.963308:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
[0708/125749.963353:ERROR:directory_reader_posix.cc(43)] opendir /Users/mirocow/Library/Application Support/Code/Crashpad/attachments/2606f777-7a39-4b53-a59f-f2747f93e0aa: No such file or directory (2)
Segmentation fault: 11
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Connect to Docker Debug",
            "type": "go",
            "request": "attach",
            "mode": "remote",
            "port": 40000,
            "host": "127.0.0.1",
            "showLog": true,
            "dlvFlags": ["--check-go-version=false"],
            "substitutePath": [
                {
                    "from": "${workspaceFolder}",
                    "to": "/app"
                }
            ]
        }
    ]
}
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Remote Attach (Docker)",
            "type": "python",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}/app",
                    "remoteRoot": "/app"
                }
            ],
            "justMyCode": true,
            "django": false
        },
        {
            "name": "Python: FastAPI (Local)",
            "type": "python",
            "request": "launch",
            "module": "uvicorn",
            "args": [
                "app.main:app",
                "--reload",
                "--host",
                "0.0.0.0",
                "--port",
                "5000"
            ],
            "jinja": true,
            "justMyCode": true
        }
    ]
}