vscode 1.17 crashes docker and Mac OS

VSCode Version: 1.17
OS Version: Mac OS 10.11.6

Steps to Reproduce:
I'm afraid it's a bit complicated. I'll try to explain the best I can and hopefully someone else ran into a similar issue.
The crash (Mac OSX crash: all applications are killed, except vscode!) occurred when clicking on "continue debugging" after vscode stops on a breakpoint. The nodejs process runs inside a docker container.
The crash does not occurs in vscode 1.16.
System logs:
Oct  6 11:32:16 titane kernel[0]: process com.docker.drive[4978] caught causing excessive wakeups. Observed wakeups rate (per sec): 7225; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45002
Oct  6 11:32:16 titane com.apple.xpc.launchd[1] (com.apple.ReportCrash[4985]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Oct  6 11:32:16 titane ReportCrash[4985]: Invoking spindump for pid=4978 wakeups_rate=7225 duration=7 because of excessive wakeups

More details on how to reproduce:

launch a debugging session on a node js app running inside docker
wait for vscode to stop on a breakpoint
stop the docker container from the terminal

This consistently crashes docker. I'm using Docker for Mac, latest version (also crashed on the previous version). I'm running El Capitan (no high sierra).
The same test does not crash when running vscode 1.16.

@lionelvillard what version of node are you using?
With what command exactly do you stop the docker container from the terminal?
Could you attach a video / gif explaining this issue in more details?
Do you get the same crash if you use vscode insiders https://code.visualstudio.com/insiders/
Do you also get the crash if you put "protocol": "inspector" and "protocol":"legacy" in your launch.json

@isidorn, I'm using node 6.9.1.
to stop the container I do: docker stop id
I can't attach a video since all processes die.
I can reproduce the crash with vscode insiders
I get the crash for "protocol":"inspector". For "protocol":"legacy" I get an error before the debugging session start.

@roblourens could you please look into this?
@chrisdias did you already see something like this since I know you are using docker

I was able to reproduce the crash by slightly modifying the docker-typescript launch configuration described there: https://github.com/Microsoft/vscode-recipes
New launch config:
{
      "type": "node",
      "request": "launch",
      "name": "Launch in Docker",
      "protocol": "inspector",
      "runtimeExecutable": "docker",
      "runtimeArgs": ["run", "-p", "3000:3000", "-p", "5858:5858", "dockertypescript_web", "node", "--inspect=<IP_ADDRESS>:5858", "./dist/index.js"],
      "port": 5858,
      "timeout": 60000,
      "localRoot": "${workspaceRoot}",
      "remoteRoot": "/server",
      "outFiles": [
        "${workspaceRoot}/dist/**/*.js"
      ],
      "console": "internalConsole"
    }

Steps:

build the docker image: docker-compose build
launch Launch in Docker
stop the container: `docker stop $(docker ps -q)

@isidorn @roblourens I can reproduce this.
git clone https://github.com/glimpse/stickerapp
cd stickerapp
git checkout chrisdias/ignite2017
npm install

launch.json config:
        {
            "type": "node",
            "request": "launch",
            "name": "Launch in Docker",
            "protocol": "inspector",
            "runtimeExecutable": "docker",
            "runtimeArgs": [
                "run",
                "-p",
                "3000:3000",
                "-p",
                "5858:5858",
                "stickerapp:latest",
                "node",
                "--inspect=<IP_ADDRESS>:5858",
                "server/index.js"
            ],
            "port": 5858,
            "timeout": 60000,
            "localRoot": "${workspaceRoot}",
            "remoteRoot": "/usr/src/app",
            "console": "internalConsole"
        }

Can someone check whether it happens when debugging with chrome devtools?

no crash when debugging with chrome devtools.
Most interesting, this launch config works:
    {
      "type": "node",
      "request": "launch",
      "name": "Launch in Docker - docker run",
      "protocol": "inspector",
      "runtimeExecutable": "docker",
      "runtimeArgs": [ "run", "-p", "3000:3000", "-p", "5858:5858", "dockertypescript_web", "npm", "run", "debug"],
      "port": 5858,
      "timeout": 60000,
      "localRoot": "${workspaceRoot}",
      "remoteRoot": "/server",
      "outFiles": [
        "${workspaceRoot}/dist/**/*.js"
      ],
      "console": "internalConsole",
      "internalConsoleOptions": "neverOpen"
    }

but not this one:
 {
      "type": "node",
      "request": "launch",
      "name": "Launch in Docker - docker run - node",
      "protocol": "inspector",
      "runtimeExecutable": "docker",
      "runtimeArgs": [ "run", "-p", "3000:3000", "-p", "5858:5858", "dockertypescript_web", "node", "--inspect=<IP_ADDRESS>:5858", "./dist/index.js"],
      "port": 5858,
      "timeout": 60000,
      "localRoot": "${workspaceRoot}",
      "remoteRoot": "/server",
      "outFiles": [
        "${workspaceRoot}/dist/**/*.js"
      ],
      "console": "internalConsole",
      "internalConsoleOptions": "neverOpen"
    }

package.json is:
{
  "name": "server",
  "version": "0.0.0",
  "scripts": {
    "postinstall": "tsc -p ./src",
    "watch": "tsc -w -p ./src",
    "debug": "node --inspect=<IP_ADDRESS>:5858 ./dist/index.js",
    "docker-debug": "docker-compose up",
    "start": "node ./dist/index.js"
  },
  "devDependencies": {
    "@types/node": "^6.0.50",
    "typescript": "^2.3.2",
    "nodemon": "^1.11.0"
  },
  "main": "./dist/index.js"
}

Can you set "trace": true in the crashy launch config and upload the log from the path it prints to the debug console?

OS: darwin x64
Adapter node: v7.9.0 x64
vscode-chrome-debug-core: 3.17.10
13:49:40, 2017-10-9
node-debug2: 1.17.6
From client: initialize({"clientID":"vscode","adapterID":"node2","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all","default":false},{"label":"Uncaught Exceptions","filter":"uncaught","default":true}],"supportsConfigurationDoneRequest":true,"supportsSetVariable":true,"supportsConditionalBreakpoints":true,"supportsCompletionsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsRestartFrame":true,"supportsExceptionInfoRequest":true,"supportsDelayedStackTraceLoading":true,"supportsValueFormattingOptions":true}}
From client: launch({"type":"node2","request":"launch","name":"Launch in Docker - docker run - node","protocol":"inspector","runtimeExecutable":"docker","runtimeArgs":["run","-p","3000:3000","-p","5858:5858","dockertypescript_web","node","--inspect=<IP_ADDRESS>:5858","./dist/index.js"],"port":5858,"timeout":60000,"localRoot":"/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript","remoteRoot":"/server","outFiles":["/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/**/*.js"],"console":"internalConsole","internalConsoleOptions":"neverOpen","trace":true,"cwd":"/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript","__sessionId":"f8643f3f-feb9-4376-8fca-a849bc042383"})
SourceMaps: preloading sourcemaps for scripts in globs: ["/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/**/*.js"]
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"debugStarted","data":{"request":"launch","args":["type","request","name","protocol","runtimeExecutable","runtimeArgs","port","timeout","localRoot","remoteRoot","outFiles","console","internalConsoleOptions","trace","cwd","__sessionId","sourceMapPathOverrides","showAsyncStacks","sourceMaps"]}}}
Using --inspect --debug-brk because a runtimeExecutable is set
/usr/local/bin/docker run -p 3000:3000 -p 5858:5858 dockertypescript_web node --inspect=<IP_ADDRESS>:5858 ./dist/index.js
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: connect ECONNREFUSED <IP_ADDRESS>:5858
SourceMaps: expanded globs and found 1 scripts
SourceMaps: sourcemap url parsed from end of generated content: index.js.map
SourceMaps.getMapForGeneratedPath: Finding SourceMap for /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js by URI: index.js.map
SourceMaps.loadSourceMapContents: Reading local sourcemap file from /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js.map
SourceMap: creating for /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
SourceMap: sourceRoot:
SourceMap: sources: ["../src/index.ts"]
SourceMap: no sourceRoot specified, using script dirname: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: connect ECONNREFUSED <IP_ADDRESS>:5858
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
Discovering targets via http://<IP_ADDRESS>:5858/json
HTTP GET failed: Error: socket hang up
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Debugger listening on port 5858.\nWarning: This is an experimental feature and could change at any time.\n"}}
Discovering targets via http://<IP_ADDRESS>:5858/json
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"targetCount","data":{"numTargets":1}}}
Attaching to target: {"description":"node.js instance","devtoolsFrontendUrl":"chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=<IP_ADDRESS>:5858/d354223f-542a-495a-bb17-20779291295a","faviconUrl":"https://nodejs.org/static/favicon.ico","id":"d354223f-542a-495a-bb17-20779291295a","title":"./dist/index.js","type":"node","url":"file:///server/dist/index.js","webSocketDebuggerUrl":"ws://<IP_ADDRESS>:5858/d354223f-542a-495a-bb17-20779291295a"}
WebSocket Url: ws://<IP_ADDRESS>:5858/d354223f-542a-495a-bb17-20779291295a
→ To target: "{\"id\":1,\"method\":\"Console.enable\"}"
→ To target: "{\"id\":2,\"method\":\"Debugger.enable\"}"
→ To target: "{\"id\":3,\"method\":\"Runtime.enable\"}"
→ To target: "{\"id\":4,\"method\":\"Runtime.runIfWaitingForDebugger\"}"
→ To target: "{\"id\":5,\"method\":\"Runtime.run\"}"
← From target: {"id":1,"result":{}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"27","url":"bootstrap_node.js","startLine":0,"startColumn":0,"endLine":537,"endColumn":0,"executionContextId":1,"hash":"A615F34018D012C6E19A022214E9C4A38295E9A5","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
→ To target: "{\"id\":6,\"method\":\"Debugger.getPossibleBreakpoints\",\"params\":{\"start\":{\"scriptId\":\"27\",\"lineNumber\":0,\"columnNumber\":0},\"end\":{\"scriptId\":\"27\",\"lineNumber\":1,\"columnNumber\":0},\"restrictToFunction\":false}}"
← From target: {"id":2,"result":{}}
← From target: {"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"","name":"Node.js Main Context"}}}
← From target: {"id":3,"result":{}}
← From target: {"id":4,"result":{}}
← From target: {"error":{"code":-32601,"message":"'Runtime.run' wasn't found"},"id":5}
→ To target: "{\"id\":7,\"method\":\"Schema.getDomains\"}"
← From target: {"error":{"code":-32601,"message":"'Debugger.getPossibleBreakpoints' wasn't found"},"id":6}
← From target: {"id":7,"result":{"domains":[{"name":"Runtime","version":"1.2"},{"name":"Debugger","version":"1.2"},{"name":"Profiler","version":"1.2"},{"name":"HeapProfiler","version":"1.2"},{"name":"Schema","version":"1.2"}]}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"32","url":"events.js","startLine":0,"startColumn":0,"endLine":494,"endColumn":3,"executionContextId":1,"hash":"4404163104EC7AD45E4AACC03E9EC98205AB2736","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"33","url":"util.js","startLine":0,"startColumn":0,"endLine":1056,"endColumn":3,"executionContextId":1,"hash":"661E41A3A5758E20C0305384BA23E61662306F26","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"34","url":"buffer.js","startLine":0,"startColumn":0,"endLine":1363,"endColumn":3,"executionContextId":1,"hash":"A55E67A172D08D8463A62E6140986839F026FDB4","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"35","url":"internal/util.js","startLine":0,"startColumn":0,"endLine":182,"endColumn":3,"executionContextId":1,"hash":"FAF153E3AB7DF34713B03CC6A115B19BAB8F7E70","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"36","url":"internal/buffer.js","startLine":0,"startColumn":0,"endLine":31,"endColumn":3,"executionContextId":1,"hash":"3DA88C50D8F02E6123850331C2643A5AA42CB207","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
→ To target: "{\"id\":8,\"method\":\"Debugger.setAsyncCallStackDepth\",\"params\":{\"maxDepth\":4}}"
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"37","url":"timers.js","startLine":0,"startColumn":0,"endLine":732,"endColumn":3,"executionContextId":1,"hash":"4EF69CB0DA3BDD91BB4093A202502057C530F696","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"38","url":"internal/linkedlist.js","startLine":0,"startColumn":0,"endLine":72,"endColumn":3,"executionContextId":1,"hash":"CA64791319ACD41915F56A408429A6D5DC224191","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"39","url":"assert.js","startLine":0,"startColumn":0,"endLine":373,"endColumn":3,"executionContextId":1,"hash":"4069C291645C820937023613989F9A50670F2B82","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"id":8,"result":{}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"40","url":"internal/process.js","startLine":0,"startColumn":0,"endLine":253,"endColumn":3,"executionContextId":1,"hash":"1B76BAE3124620E5B01052D600E13FF6AEE72B77","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"41","url":"internal/process/warning.js","startLine":0,"startColumn":0,"endLine":50,"endColumn":3,"executionContextId":1,"hash":"4B6375110733ADA2ECB6D77038CA865632CB5972","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"42","url":"internal/process/next_tick.js","startLine":0,"startColumn":0,"endLine":156,"endColumn":3,"executionContextId":1,"hash":"AC24F2C08322A809BFA67EE55BD21D693B958800","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"43","url":"internal/process/promises.js","startLine":0,"startColumn":0,"endLine":102,"endColumn":3,"executionContextId":1,"hash":"EE3F6BA39439CE974CD4BF51C277005B1A4ED071","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
→ To target: "{\"id\":9,\"method\":\"Runtime.evaluate\",\"params\":{\"expression\":\"[process.pid, process.version, process.arch]\",\"returnByValue\":true,\"contextId\":1}}"
To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true,"body":{"supportsStepBack":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"44","url":"internal/process/stdio.js","startLine":0,"startColumn":0,"endLine":176,"endColumn":3,"executionContextId":1,"hash":"316C72B31484144903115ED4C071AC6417E1DAF2","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"46","url":"","startLine":0,"startColumn":0,"endLine":0,"endColumn":44,"executionContextId":1,"hash":"22960EE2CC885872F71ED2E747A68B200282CC65","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"id":9,"result":{"result":{"type":"object","value":[1,"v7.4.0","x64"]}}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"47","url":"path.js","startLine":0,"startColumn":0,"endLine":1598,"endColumn":3,"executionContextId":1,"hash":"D75D8992EB9A8DD54ADF5EC62AF90684DB174F03","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"48","url":"module.js","startLine":0,"startColumn":0,"endLine":664,"endColumn":3,"executionContextId":1,"hash":"215C0CA286623826A27EB517F3EEE9871F43FC43","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"49","url":"internal/module.js","startLine":0,"startColumn":0,"endLine":97,"endColumn":3,"executionContextId":1,"hash":"A799FB00D3EECEA0E36238210812CBD6D68533B6","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"50","url":"vm.js","startLine":0,"startColumn":0,"endLine":107,"endColumn":3,"executionContextId":1,"hash":"9968B232F0F7BD93398ACE810BD242E7DA6C4FB2","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"51","url":"fs.js","startLine":0,"startColumn":0,"endLine":2032,"endColumn":3,"executionContextId":1,"hash":"91B31E20188640B573B76E7472F3E2D286F6BC91","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"52","url":"stream.js","startLine":0,"startColumn":0,"endLine":108,"endColumn":3,"executionContextId":1,"hash":"4EA8A5B1EFFACB02F4F714F611015942BFA250B5","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
Target node version: v7.4.0 x64
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"nodeVersion","data":{"version":"v7.4.0"}}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"53","url":"_stream_readable.js","startLine":0,"startColumn":0,"endLine":977,"endColumn":3,"executionContextId":1,"hash":"409750E0C5F78393B0D9D3351668D0525AC868A6","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"54","url":"internal/streams/BufferList.js","startLine":0,"startColumn":0,"endLine":73,"endColumn":3,"executionContextId":1,"hash":"A7683B52CD6F6299B8D6DF70EF9B54E9CAE2BC96","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"55","url":"_stream_writable.js","startLine":0,"startColumn":0,"endLine":557,"endColumn":3,"executionContextId":1,"hash":"8FC7234379F60C45576F6E87606E408949A2C644","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"56","url":"_stream_duplex.js","startLine":0,"startColumn":0,"endLine":58,"endColumn":3,"executionContextId":1,"hash":"5E476583F40B11B912420FD1AC4295F8C71738F2","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"57","url":"_stream_transform.js","startLine":0,"startColumn":0,"endLine":196,"endColumn":3,"executionContextId":1,"hash":"9485EE63BC68F3306538C29209E85C3C8CA10A15","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"58","url":"_stream_passthrough.js","startLine":0,"startColumn":0,"endLine":23,"endColumn":3,"executionContextId":1,"hash":"122E62B378B03CAABE23C6A421ED869B93DBE6E1","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From client: loadedSources(undefined)
To client: {"seq":0,"type":"response","request_seq":3,"command":"loadedSources","success":true,"body":{"sources":[{"name":"VM46","path":"<eval>/VM46","sourceReference":1014,"origin":"read-only content from Node.js"},{"name":"_stream_duplex.js","path":"<node_internals>/_stream_duplex.js","sourceReference":1024,"origin":"read-only core module"},{"name":"_stream_passthrough.js","path":"<node_internals>/_stream_passthrough.js","sourceReference":1026,"origin":"read-only core module"},{"name":"_stream_readable.js","path":"<node_internals>/_stream_readable.js","sourceReference":1021,"origin":"read-only core module"},{"name":"_stream_transform.js","path":"<node_internals>/_stream_transform.js","sourceReference":1025,"origin":"read-only core module"},{"name":"_stream_writable.js","path":"<node_internals>/_stream_writable.js","sourceReference":1023,"origin":"read-only core module"},{"name":"assert.js","path":"<node_internals>/assert.js","sourceReference":1008,"origin":"read-only core module"},{"name":"bootstrap_node.js","path":"<node_internals>/bootstrap_node.js","sourceReference":1000,"origin":"read-only core module"},{"name":"buffer.js","path":"<node_internals>/buffer.js","sourceReference":1003,"origin":"read-only core module"},{"name":"events.js","path":"<node_internals>/events.js","sourceReference":1001,"origin":"read-only core module"},{"name":"fs.js","path":"<node_internals>/fs.js","sourceReference":1019,"origin":"read-only core module"},{"name":"buffer.js","path":"<node_internals>/internal/buffer.js","sourceReference":1005,"origin":"read-only core module"},{"name":"linkedlist.js","path":"<node_internals>/internal/linkedlist.js","sourceReference":1007,"origin":"read-only core module"},{"name":"module.js","path":"<node_internals>/internal/module.js","sourceReference":1017,"origin":"read-only core module"},{"name":"process.js","path":"<node_internals>/internal/process.js","sourceReference":1009,"origin":"read-only core module"},{"name":"next_tick.js","path":"<node_internals>/internal/process/next_tick.js","sourceReference":1011,"origin":"read-only core module"},{"name":"promises.js","path":"<node_internals>/internal/process/promises.js","sourceReference":1012,"origin":"read-only core module"},{"name":"stdio.js","path":"<node_internals>/internal/process/stdio.js","sourceReference":1013,"origin":"read-only core module"},{"name":"warning.js","path":"<node_internals>/internal/process/warning.js","sourceReference":1010,"origin":"read-only core module"},{"name":"BufferList.js","path":"<node_internals>/internal/streams/BufferList.js","sourceReference":1022,"origin":"read-only core module"},{"name":"util.js","path":"<node_internals>/internal/util.js","sourceReference":1004,"origin":"read-only core module"},{"name":"module.js","path":"<node_internals>/module.js","sourceReference":1016,"origin":"read-only core module"},{"name":"path.js","path":"<node_internals>/path.js","sourceReference":1015,"origin":"read-only core module"},{"name":"stream.js","path":"<node_internals>/stream.js","sourceReference":1020,"origin":"read-only core module"},{"name":"timers.js","path":"<node_internals>/timers.js","sourceReference":1006,"origin":"read-only core module"},{"name":"util.js","path":"<node_internals>/util.js","sourceReference":1002,"origin":"read-only core module"},{"name":"vm.js","path":"<node_internals>/vm.js","sourceReference":1018,"origin":"read-only core module"}]}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"59","url":"internal/fs.js","startLine":0,"startColumn":0,"endLine":101,"endColumn":3,"executionContextId":1,"hash":"9B905001053AB02AE779CB8229AE48436869FFC7","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"60","url":"/server/dist/index.js","startLine":0,"startColumn":0,"endLine":12,"endColumn":3,"executionContextId":1,"hash":"9CBBFA30D1198793238757F1784BD7DCE6FA90F5","isLiveEdit":false,"sourceMapURL":"index.js.map","hasSourceURL":false}}
Mapped remoteToLocal: /server/dist/index.js -> /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
SourceMaps.getMapForGeneratedPath: Finding SourceMap for /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js by URI: index.js.map
SourceMaps.loadSourceMapContents: Reading local sourcemap file from /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js.map
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"61","url":"http.js","startLine":0,"startColumn":0,"endLine":34,"endColumn":3,"executionContextId":1,"hash":"E3ACDAD2EC297A602C1C79175572D1185C531CC6","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"62","url":"_http_incoming.js","startLine":0,"startColumn":0,"endLine":188,"endColumn":3,"executionContextId":1,"hash":"6C785321E70EB431E11A78D17FAA50C31C8F6866","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
SourceMap: creating for /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
SourceMap: sourceRoot:
SourceMap: sources: ["../src/index.ts"]
SourceMap: no sourceRoot specified, using script dirname: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist
SourceMaps.scriptParsed: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js was just loaded and has mapped sources: ["/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts"]
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"63","url":"_http_outgoing.js","startLine":0,"startColumn":0,"endLine":715,"endColumn":3,"executionContextId":1,"hash":"FA586C020D5B53D8FB0C81156ACD9F929A1E4AB3","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"64","url":"_http_common.js","startLine":0,"startColumn":0,"endLine":345,"endColumn":3,"executionContextId":1,"hash":"A5EBD9C2057B278AD2857AA383C31361BB1EA806","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"65","url":"internal/freelist.js","startLine":0,"startColumn":0,"endLine":25,"endColumn":3,"executionContextId":1,"hash":"5EF461B18DA86A67D3FC25F68ACA2A9857186CC0","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"66","url":"_http_agent.js","startLine":0,"startColumn":0,"endLine":293,"endColumn":3,"executionContextId":1,"hash":"B5C8E401DFDFB619A56418924BEC85D974852101","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"67","url":"net.js","startLine":0,"startColumn":0,"endLine":1606,"endColumn":3,"executionContextId":1,"hash":"AF87BCC35AD50448FC5DE614759E5572A8BA4555","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"68","url":"internal/net.js","startLine":0,"startColumn":0,"endLine":19,"endColumn":3,"executionContextId":1,"hash":"7C40D431006A622907A0F180581E9C5902F6E572","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"69","url":"_http_server.js","startLine":0,"startColumn":0,"endLine":614,"endColumn":3,"executionContextId":1,"hash":"81266090B2A5CC255BCA09851DE407763F1A0FB0","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"70","url":"_http_client.js","startLine":0,"startColumn":0,"endLine":672,"endColumn":3,"executionContextId":1,"hash":"EF04F6E2EFCAD8150FBC8B13704E7A5166443671","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"71","url":"url.js","startLine":0,"startColumn":0,"endLine":959,"endColumn":3,"executionContextId":1,"hash":"9F1E0BF12171C1951DDF32A405BE350CFC3DAAB0","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"72","url":"internal/url.js","startLine":0,"startColumn":0,"endLine":915,"endColumn":3,"executionContextId":1,"hash":"D2596F4185E5B5511EA379E34275EB3495349685","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"73","url":"querystring.js","startLine":0,"startColumn":0,"endLine":413,"endColumn":3,"executionContextId":1,"hash":"312715726B84C9178C6C39E6C1C838B45D2611A6","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"74","url":"cluster.js","startLine":0,"startColumn":0,"endLine":771,"endColumn":3,"executionContextId":1,"hash":"76A36571B28C70B60D9C2E26F5DA9AE444106694","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"75","url":"dgram.js","startLine":0,"startColumn":0,"endLine":565,"endColumn":3,"executionContextId":1,"hash":"C5B7DA432B2DCA6332EE56C0E18C87F5F59AF496","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"76","url":"child_process.js","startLine":0,"startColumn":0,"endLine":538,"endColumn":3,"executionContextId":1,"hash":"570771D16244375A0872BC14B067268B7B60E4A3","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"77","url":"internal/child_process.js","startLine":0,"startColumn":0,"endLine":888,"endColumn":3,"executionContextId":1,"hash":"C27CCE7301657A73170AE0B3350219D1EB587C61","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"78","url":"string_decoder.js","startLine":0,"startColumn":0,"endLine":263,"endColumn":3,"executionContextId":1,"hash":"C977C5317B2D38F4354E5E249301FC63C0E431B5","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"79","url":"internal/socket_list.js","startLine":0,"startColumn":0,"endLine":105,"endColumn":3,"executionContextId":1,"hash":"ADCF3B426AF98493D4DDDC619696D58A81D14AB5","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"80","url":"internal/cluster.js","startLine":0,"startColumn":0,"endLine":5,"endColumn":3,"executionContextId":1,"hash":"64B48D839390E299D28F369289F033398AFCF144","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"81","url":"console.js","startLine":0,"startColumn":0,"endLine":102,"endColumn":3,"executionContextId":1,"hash":"8D49918184822AD732362302A21ACB8AD8AC9E26","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
← From target: {"method":"Console.messageAdded","params":{"message":{"source":"console-api","level":"log","text":"server running on port 3000","url":"/server/dist/index.js","line":11,"column":9}}}
← From target: {"method":"Runtime.consoleAPICalled","params":{"type":"log","args":[{"type":"string","value":"server running on port 3000"}],"executionContextId":1,"timestamp":155913.785811,"stackTrace":{"callFrames":[{"functionName":"","scriptId":"60","url":"/server/dist/index.js","lineNumber":10,"columnNumber":8},{"functionName":"Module._compile","scriptId":"48","url":"module.js","lineNumber":570,"columnNumber":31},{"functionName":"Module._extensions..js","scriptId":"48","url":"module.js","lineNumber":579,"columnNumber":9},{"functionName":"Module.load","scriptId":"48","url":"module.js","lineNumber":487,"columnNumber":31},{"functionName":"tryModuleLoad","scriptId":"48","url":"module.js","lineNumber":446,"columnNumber":11},{"functionName":"Module._load","scriptId":"48","url":"module.js","lineNumber":438,"columnNumber":2},{"functionName":"Module.runMain","scriptId":"48","url":"module.js","lineNumber":604,"columnNumber":9},{"functionName":"run","scriptId":"27","url":"bootstrap_node.js","lineNumber":419,"columnNumber":6},{"functionName":"startup","scriptId":"27","url":"bootstrap_node.js","lineNumber":138,"columnNumber":8},{"functionName":"","scriptId":"27","url":"bootstrap_node.js","lineNumber":534,"columnNumber":2}]}}}
Mapped remoteToLocal: /server/dist/index.js -> /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stdout","output":"server running on port 3000\n","source":{"name":"index.ts","path":"/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts"},"line":15,"column":9}}
Did not get a pause event 500ms after starting, so continuing
To client: {"seq":0,"type":"event","event":"initialized"}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"bootstrap_node.js","path":"<node_internals>/bootstrap_node.js","sourceReference":1000,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"events.js","path":"<node_internals>/events.js","sourceReference":1001,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"util.js","path":"<node_internals>/util.js","sourceReference":1002,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"buffer.js","path":"<node_internals>/buffer.js","sourceReference":1003,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"util.js","path":"<node_internals>/internal/util.js","sourceReference":1004,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"buffer.js","path":"<node_internals>/internal/buffer.js","sourceReference":1005,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"timers.js","path":"<node_internals>/timers.js","sourceReference":1006,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"linkedlist.js","path":"<node_internals>/internal/linkedlist.js","sourceReference":1007,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"assert.js","path":"<node_internals>/assert.js","sourceReference":1008,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"process.js","path":"<node_internals>/internal/process.js","sourceReference":1009,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"warning.js","path":"<node_internals>/internal/process/warning.js","sourceReference":1010,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"next_tick.js","path":"<node_internals>/internal/process/next_tick.js","sourceReference":1011,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"promises.js","path":"<node_internals>/internal/process/promises.js","sourceReference":1012,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"stdio.js","path":"<node_internals>/internal/process/stdio.js","sourceReference":1013,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"VM46","path":"<eval>/VM46","sourceReference":1014,"origin":"read-only content from Node.js"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"path.js","path":"<node_internals>/path.js","sourceReference":1015,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"module.js","path":"<node_internals>/module.js","sourceReference":1016,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"module.js","path":"<node_internals>/internal/module.js","sourceReference":1017,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"vm.js","path":"<node_internals>/vm.js","sourceReference":1018,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"fs.js","path":"<node_internals>/fs.js","sourceReference":1019,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"stream.js","path":"<node_internals>/stream.js","sourceReference":1020,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_stream_readable.js","path":"<node_internals>/_stream_readable.js","sourceReference":1021,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"BufferList.js","path":"<node_internals>/internal/streams/BufferList.js","sourceReference":1022,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_stream_writable.js","path":"<node_internals>/_stream_writable.js","sourceReference":1023,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_stream_duplex.js","path":"<node_internals>/_stream_duplex.js","sourceReference":1024,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_stream_transform.js","path":"<node_internals>/_stream_transform.js","sourceReference":1025,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_stream_passthrough.js","path":"<node_internals>/_stream_passthrough.js","sourceReference":1026,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"fs.js","path":"<node_internals>/internal/fs.js","sourceReference":1028,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"index.js","path":"/server/dist/index.js","sourceReference":1027,"origin":"read-only content from Node.js"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"http.js","path":"<node_internals>/http.js","sourceReference":1029,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_http_incoming.js","path":"<node_internals>/_http_incoming.js","sourceReference":1030,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_http_outgoing.js","path":"<node_internals>/_http_outgoing.js","sourceReference":1031,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_http_common.js","path":"<node_internals>/_http_common.js","sourceReference":1032,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"freelist.js","path":"<node_internals>/internal/freelist.js","sourceReference":1033,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_http_agent.js","path":"<node_internals>/_http_agent.js","sourceReference":1034,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"net.js","path":"<node_internals>/net.js","sourceReference":1035,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"net.js","path":"<node_internals>/internal/net.js","sourceReference":1036,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_http_server.js","path":"<node_internals>/_http_server.js","sourceReference":1037,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"_http_client.js","path":"<node_internals>/_http_client.js","sourceReference":1038,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"url.js","path":"<node_internals>/url.js","sourceReference":1039,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"url.js","path":"<node_internals>/internal/url.js","sourceReference":1040,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"querystring.js","path":"<node_internals>/querystring.js","sourceReference":1041,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"cluster.js","path":"<node_internals>/cluster.js","sourceReference":1042,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"dgram.js","path":"<node_internals>/dgram.js","sourceReference":1043,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"child_process.js","path":"<node_internals>/child_process.js","sourceReference":1044,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"child_process.js","path":"<node_internals>/internal/child_process.js","sourceReference":1045,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"string_decoder.js","path":"<node_internals>/string_decoder.js","sourceReference":1046,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"socket_list.js","path":"<node_internals>/internal/socket_list.js","sourceReference":1047,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"cluster.js","path":"<node_internals>/internal/cluster.js","sourceReference":1048,"origin":"read-only core module"}}}
To client: {"seq":0,"type":"event","event":"loadedSource","body":{"reason":"new","source":{"name":"console.js","path":"<node_internals>/console.js","sourceReference":1049,"origin":"read-only core module"}}}
From client: setBreakpoints({"source":{"name":"index.ts","path":"/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts"},"lines":[7,9],"breakpoints":[{"line":7},{"line":9}],"sourceModified":false})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"setBreakpointsRequest","data":{"fileExt":".ts"}}}
From client: setBreakpoints({"source":{"path":"/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js","name":"index.js"},"lines":[8],"breakpoints":[{"line":8}],"sourceModified":false})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"setBreakpointsRequest","data":{"fileExt":".js"}}}
Mapped localToRemote: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js -> /server/dist/index.js
Mapped localToRemote: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js -> /server/dist/index.js
SourceMaps.setBP: Mapped /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts to /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
SourceMaps.setBP: Mapped /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts:7:1 to /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js:6:5
SourceMaps.setBP: Mapped /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts:9:1 to /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js:7:5
Mapped localToRemote: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js -> /server/dist/index.js
SourceMaps.setBP: SourceMaps are enabled but /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js is a runtime script
Mapped localToRemote: /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js -> /server/dist/index.js
→ To target: "{\"id\":10,\"method\":\"Debugger.setBreakpointByUrl\",\"params\":{\"urlRegex\":\"\\\\/server\\\\/dist\\\\/index\\\\.js\",\"lineNumber\":5,\"columnNumber\":4}}"
→ To target: "{\"id\":11,\"method\":\"Debugger.setBreakpointByUrl\",\"params\":{\"urlRegex\":\"\\\\/server\\\\/dist\\\\/index\\\\.js\",\"lineNumber\":6,\"columnNumber\":4}}"
← From target: {"id":10,"result":{"breakpointId":"/\\/server\\/dist\\/index\\.js/:5:4","locations":[{"scriptId":"60","lineNumber":5,"columnNumber":36}]}}
← From target: {"id":11,"result":{"breakpointId":"/\\/server\\/dist\\/index\\.js/:6:4","locations":[{"scriptId":"60","lineNumber":6,"columnNumber":4}]}}
SourceMaps.setBP: Mapped /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js:6:37 to /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts:7
SourceMaps.setBP: Mapped /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js:7:5 to /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts:9
To client: {"seq":0,"type":"response","request_seq":4,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"id":1000,"verified":true,"line":7,"column":1},{"id":1001,"verified":true,"line":9,"column":1}]}}
→ To target: "{\"id\":12,\"method\":\"Debugger.removeBreakpoint\",\"params\":{\"breakpointId\":\"/\\\\/server\\\\/dist\\\\/index\\\\.js/:5:4\"}}"
← From target: {"id":12,"result":{}}
→ To target: "{\"id\":13,\"method\":\"Debugger.removeBreakpoint\",\"params\":{\"breakpointId\":\"/\\\\/server\\\\/dist\\\\/index\\\\.js/:6:4\"}}"
← From target: {"id":13,"result":{}}
→ To target: "{\"id\":14,\"method\":\"Debugger.setBreakpointByUrl\",\"params\":{\"urlRegex\":\"\\\\/server\\\\/dist\\\\/index\\\\.js\",\"lineNumber\":7,\"columnNumber\":0}}"
← From target: {"id":14,"result":{"breakpointId":"/\\/server\\/dist\\/index\\.js/:7:0","locations":[{"scriptId":"60","lineNumber":7,"columnNumber":4}]}}
To client: {"seq":0,"type":"response","request_seq":5,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"id":1002,"verified":true,"line":8,"column":1}]}}
From client: setExceptionBreakpoints({"filters":["uncaught"]})
→ To target: "{\"id\":15,\"method\":\"Debugger.setPauseOnExceptions\",\"params\":{\"state\":\"uncaught\"}}"
← From target: {"id":15,"result":{}}
To client: {"seq":0,"type":"response","request_seq":6,"command":"setExceptionBreakpoints","success":true}
From client: configurationDone(undefined)
To client: {"seq":0,"type":"response","request_seq":7,"command":"configurationDone","success":true}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":8,"command":"threads","success":true,"body":{"threads":[{"id":1,"name":"Node (1)"}]}}
← From target: {"method":"Debugger.paused","params":{"callFrames":[{"callFrameId":"{\"ordinal\":0,\"injectedScriptId\":1}","functionName":"","functionLocation":{"scriptId":"60","lineNumber":4,"columnNumber":27},"location":{"scriptId":"60","lineNumber":7,"columnNumber":4},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":1}"},"startLocation":{"scriptId":"60","lineNumber":4,"columnNumber":27},"endLocation":{"scriptId":"60","lineNumber":9,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":2}"},"startLocation":{"scriptId":"60","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"60","lineNumber":12,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":3}"}}],"this":{"type":"object","className":"Server","description":"Server","objectId":"{\"injectedScriptId\":1,\"id\":4}"}},{"callFrameId":"{\"ordinal\":1,\"injectedScriptId\":1}","functionName":"emitTwo","functionLocation":{"scriptId":"32","lineNumber":103,"columnNumber":16},"location":{"scriptId":"32","lineNumber":105,"columnNumber":12},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":5}"},"name":"emitTwo","startLocation":{"scriptId":"32","lineNumber":103,"columnNumber":16},"endLocation":{"scriptId":"32","lineNumber":112,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":6}"},"startLocation":{"scriptId":"32","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"32","lineNumber":494,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":7}"}}],"this":{"type":"undefined"}},{"callFrameId":"{\"ordinal\":2,\"injectedScriptId\":1}","functionName":"emit","functionLocation":{"scriptId":"32","lineNumber":135,"columnNumber":43},"location":{"scriptId":"32","lineNumber":190,"columnNumber":6},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":8}"},"name":"emit","startLocation":{"scriptId":"32","lineNumber":135,"columnNumber":43},"endLocation":{"scriptId":"32","lineNumber":207,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":9}"},"startLocation":{"scriptId":"32","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"32","lineNumber":494,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":10}"}}],"this":{"type":"object","className":"Server","description":"Server","objectId":"{\"injectedScriptId\":1,\"id\":11}"}},{"callFrameId":"{\"ordinal\":3,\"injectedScriptId\":1}","functionName":"parserOnIncoming","functionLocation":{"scriptId":"69","lineNumber":502,"columnNumber":25},"location":{"scriptId":"69","lineNumber":561,"columnNumber":11},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":12}"},"name":"parserOnIncoming","startLocation":{"scriptId":"69","lineNumber":502,"columnNumber":25},"endLocation":{"scriptId":"69","lineNumber":564,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":13}"},"startLocation":{"scriptId":"69","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"69","lineNumber":614,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":14}"}}],"this":{"type":"undefined"}},{"callFrameId":"{\"ordinal\":4,\"injectedScriptId\":1}","functionName":"parserOnHeadersComplete","functionLocation":{"scriptId":"64","lineNumber":44,"columnNumber":32},"location":{"scriptId":"64","lineNumber":98,"columnNumber":22},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":15}"},"name":"parserOnHeadersComplete","startLocation":{"scriptId":"64","lineNumber":44,"columnNumber":32},"endLocation":{"scriptId":"64","lineNumber":105,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":16}"},"startLocation":{"scriptId":"64","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"64","lineNumber":345,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":17}"}}],"this":{"type":"object","className":"HTTPParser","description":"HTTPParser","objectId":"{\"injectedScriptId\":1,\"id\":18}"}}],"reason":"other","hitBreakpoints":["/\\/server\\/dist\\/index\\.js/:7:0"]}}
To client: {"seq":0,"type":"event","event":"stopped","body":{"reason":"breakpoint","threadId":1,"description":"Paused on breakpoint"}}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":9,"command":"threads","success":true,"body":{"threads":[{"id":1,"name":"Node (1)"}]}}
From client: stackTrace({"threadId":1,"startFrame":0,"levels":1})
Mapped remoteToLocal: /server/dist/index.js -> /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
To client: {"seq":0,"type":"response","request_seq":10,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":1000,"name":"(anonymous function)","source":{"name":"index.ts","path":"/Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/src/index.ts"},"line":10,"column":3}],"totalFrames":5}}
From client: scopes({"frameId":1000})
Mapped remoteToLocal: /server/dist/index.js -> /Users/villardl/Projects/github/vscode-recipes/Docker-TypeScript/dist/index.js
To client: {"seq":0,"type":"response","request_seq":11,"command":"scopes","success":true,"body":{"scopes":[{"name":"Local","variablesReference":1000,"expensive":false,"column":19,"line":5,"endColumn":2,"endLine":13},{"name":"Closure","variablesReference":1001,"expensive":false,"column":11,"line":1,"endColumn":2,"endLine":13},{"name":"Global","variablesReference":1002,"expensive":true}]}}
From client: variables({"variablesReference":1000})
→ To target: "{\"id\":16,\"method\":\"Runtime.getProperties\",\"params\":{\"objectId\":\"{\\\"injectedScriptId\\\":1,\\\"id\\\":1}\",\"ownProperties\":false,\"accessorPropertiesOnly\":true,\"generatePreview\":true}}"
→ To target: "{\"id\":17,\"method\":\"Runtime.getProperties\",\"params\":{\"objectId\":\"{\\\"injectedScriptId\\\":1,\\\"id\\\":1}\",\"ownProperties\":true,\"accessorPropertiesOnly\":false,\"generatePreview\":true}}"
← From target: {"id":16,"result":{"result":[]}}
← From target: {"id":17,"result":{"result":[{"name":"req","value":{"type":"object","className":"IncomingMessage","description":"IncomingMessage","objectId":"{\"injectedScriptId\":1,\"id\":19}","preview":{"type":"object","description":"IncomingMessage","overflow":true,"properties":[{"name":"_readableState","type":"object","value":"ReadableState"},{"name":"readable","type":"boolean","value":"true"},{"name":"domain","type":"object","value":"null","subtype":"null"},{"name":"_events","type":"object","value":"EventHandlers"},{"name":"_eventsCount","type":"number","value":"0"}]}},"writable":true,"configurable":true,"enumerable":true,"isOwn":true},{"name":"res","value":{"type":"object","className":"ServerResponse","description":"ServerResponse","objectId":"{\"injectedScriptId\":1,\"id\":20}","preview":{"type":"object","description":"ServerResponse","overflow":true,"properties":[{"name":"domain","type":"object","value":"null","subtype":"null"},{"name":"_events","type":"object","value":"EventHandlers"},{"name":"_eventsCount","type":"number","value":"1"},{"name":"_maxListeners","type":"undefined","value":"undefined"},{"name":"output","type":"object","value":"Array[0]","subtype":"array"}]}},"writable":true,"configurable":true,"enumerable":true,"isOwn":true},{"name":"message","value":{"type":"string","value":"Request Count: 1"},"writable":true,"configurable":true,"enumerable":true,"isOwn":true}]}}
To client: {"seq":0,"type":"response","request_seq":12,"command":"variables","success":true,"body":{"variables":[{"name":"this","value":"Server","type":"Object","variablesReference":1005,"evaluateName":"this"},{"name":"message","value":"\"Request Count: 1\"","variablesReference":0,"evaluateName":"message"},{"name":"req","value":"IncomingMessage {_readableState: ReadableState, readable: true, domain: null, …}","type":"Object","variablesReference":1003,"evaluateName":"req"},{"name":"res","value":"ServerResponse {domain: null, _events: EventHandlers, _eventsCount: 1, …}","type":"Object","variablesReference":1004,"evaluateName":"res"}]}}
From client: stackTrace({"threadId":1,"startFrame":1,"levels":19})
To client: {"seq":0,"type":"response","request_seq":13,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":1006,"name":"emitTwo","source":{"name":"events.js","path":"<node_internals>/events.js","sourceReference":1001,"origin":"read-only core module"},"line":106,"column":13},{"id":1007,"name":"emit","source":{"name":"events.js","path":"<node_internals>/events.js","sourceReference":1001,"origin":"read-only core module"},"line":191,"column":7},{"id":1008,"name":"parserOnIncoming","source":{"name":"_http_server.js","path":"<node_internals>/_http_server.js","sourceReference":1037,"origin":"read-only core module"},"line":562,"column":12},{"id":1009,"name":"parserOnHeadersComplete","source":{"name":"_http_common.js","path":"<node_internals>/_http_common.js","sourceReference":1032,"origin":"read-only core module"},"line":99,"column":23}],"totalFrames":5}}
Websocket closed
Killing process with id: 1
Terminated: websocket closed
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"debugStopped","data":{"reason":"websocket closed"}}}
To client: {"seq":0,"type":"event","event":"terminated"}
Target exited
Terminated: Target exited
Target closed
Terminated: Target closed
From client: disconnect({"restart":false})
Terminated: Got disconnect request
To client: {"seq":0,"type":"response","request_seq":14,"command":"disconnect","success":true}

I've experienced similar with both 1.17 and now 1.18. I commented as much to John Papa on Twitter and he asked me to see if I could recreate and post here. I've attached as minimal a recreation project as I can. This was taken from a larger project and sort of hacked at to get it loose, so it might be my configurations are a bit overly complicated or perhaps wrong. Either way, if I launch this in VSCode and then stop debugging, every process that isn't VSCode is killed on my Mac. However, if I run the compose command in my terminal and then use VSCode to connect to the running docker container, then I can attach/detach without issue.
I hope this helps.
dockertest.zip

Thanks for the repro - how do I get setcap on macos?
Looking through the thread again, this must be due to terminateProcess.sh running wild. I see in your log Killing process with id: 1 - clearly we should not kill PID 1. It must be that when we launch Docker, we are getting PIDs from inside docker itself, not from outside.

cc @auchenberg and @chrisdias as per our conversation
This happened to me in a project when debugging docker and when debugging without docker.
behavior on my mac when it happens:

all open apps close
non visible apps close, too such as: bartender, alfred, docker
vs code stays open but copy and paste no longer work until i close vs code and reopen it

leading up to this is always a debugging session.
I have seen this happen in 1.18 and today in 1.19 in the insiders edition.

@lionelvillard --- so it only happens when you use npm scripts to debug? not direct commands?

I can repro now, thanks.  What I said a couple comments above is right. Fortunately it's an easy fix.

and when debugging without docker.
@johnpapa I don't have any explanation for that. Just debugging a node app in a normal way? If you can make it happen again, can you get a log with "trace": true?

Sure. I'll try that tonight as I prep my demo. The first 4 times it was with docker. Today it was not with docker, right after I updated to 1.19 insiders.

The issue I understand will be fixed in the next Insiders build. Thanks for following up @robocel!
I never saw this before because the Docker examples I've used before have relied on launching Docker separately, and having an attach config, which would not show this issue.

that is interesting because my scenario with docker is that i compose docker separately, then i attach docker to debug and this behavior happens.

 I didn't even have time to commute home and you guys got it worked out. Thanks so much for the fast responses!

Well we definitely shouldn't be killing anything when in attach mode. I would be interested in a trace from either scenario then.

I'll keep the traces on so i can catch it next time.


Compatibility with GCP deployment manager

We could also build a simplified open-source version.
https://cloud.google.com/deployment-manager/fundamentals
One useful functionality it would add is parameterization, using jinja templates and sandboxed python.
Known issues:

Need the ability to wait for readiness of dependencies #1899

cc @jackgr @iantw89

Hi
I am a student at University of Edinburgh currently involved in undergraduate research project concerned with configuring large systems. I am faced with prototype of new configuration language, and my task is to understand common problems that exist in area of configuring large systems. I want to track down problems that existing solutions are not solving and hopefully make useful proposals to prototype language. For example now I am looking at google's App Engine approach to configuration in order to figure out what are the useful features and how they can be implemented in more declarative approach, but in order to pick such features I would need to receive either feedback or data, like existing code for configurations. Is this possible? If I have asked in a wrong place please let me know where I can go.

cc @vaikas

@DamodarSojka please post on StackOverflow or the Kubernetes mailing list, this is a good question indeed and Kubernetes may be the right kind of system to study.

We've just pushed the initial bits for open source Deployment Manager. See the new repository here. @DamodarSojka, we would welcome your involvement and review.

Note that we don't yet sandbox the python or wait for readiness of dependencies #1899, although both features are in the backlog.
Can this issue be closed, now?
cc @bgrant0607

Yes. Thanks!
On 29 November 2015 at 22:37, Jack Greenfield<EMAIL_ADDRESS>wrote:

Note that we don't yet sandbox the python or wait for readiness of
dependencies #1899 https://github.com/kubernetes/kubernetes/issues/1899,
although both features are in the backlog.
Can this issue be closed, now?
cc @bgrant0607 https://github.com/bgrant0607
—
Reply to this email directly or view it on GitHub
https://github.com/kubernetes/kubernetes/issues/3685#issuecomment-160478369
.


Pie Charts

I have been working on some pie chart Diagrams, I was wondering if you have started any work on this, I will be happy to contribute

Nothing specific for pie charts - wil happily review PRs :)

@juanespj, would you be interested to submit your work as a PR?

Any updates here? Loving the mappings so for, only thing missing are pie charts. Unfortunately I'm a total beginner (started 2 days ago), so I can't really contribute a lot...

@CriticalTea , unfortunately so far not. I will try to find some time to do it in the next few weeks.

@CriticalTea , the basics have been added in https://github.com/plotly/plotly.rs/pull/265


Generate types for Eden

Thanks for the work on this module!
I have a suggestion on how to get types for Eden.
We're loading files async at runtime, which makes  it impossible to have end to end type safety during development.
I think Prisma has a similar issue (just with database schemas, instead of async file fetching) and the only solution is to generate types manually from a state X of the filesystem
In order to have this working we need to configure something project wise, so that if you have multiple instances to elysia-autoroutes you could generate the type for all of those directories.
Ideally I'd like to have:

an autoroutes command which can:

generate: if a file autoroutes.json is present, parse it and assume it's an array of strings of routesDir. If it's not available, scan the AST of all the ts/js/tsx/jsx files in the project, looking for calls to autoroutes, collect routesDir.  For each routesDir, generate a file in node_modules/.autoroutes/router-${myRoutesDir}.ts which requires all the files and generate the correct types for the routers
preload-paths: run the logic in generate and save the paths to autoroutes.json
generate --watch: run generate and watches for file changes in the routes directories (not in all the projects, scanning for AST, that'd be a perf nightmare)

When the user is using the autoroutes plugin, get the type from node_modules/.autoroutes/router-${myRoutesDir}.ts the and cast the router to that type (but still load it dynamically at runtime)

Runtime behaviour will be unchanged, we should just get better types instead of unknown
What do you think? I might try to sketch something

I released elysia-autoload with this feature)
NPM
GitHub


feat(plugin-legacy): support additionalModernPolyfills

Description

This PR introduces additionalModernPolyfills option that mirrors the existing additionalLegacyPolyfills option.
The reason this is needed for the modern chunk is because due to #5142 the following is not actually true, and the only way to ensure polyfills are loaded before application code is to use plugin-legacy:

Note: if additional polyfills are needed for both the modern and legacy chunks, they can simply be imported in the application source code.

For example, this option can be used when an application only configures modernPolyfills but wishes to add custom polyfills for non-legacy browsers.

Can you explain what you mean when you say the existing docs are untrue? Why and in what case does importing polyfills in your entry point not work?

Can you explain what you mean when you say the existing docs are untrue? Why and in what case does importing polyfills in your source code not work?

Per the referenced issue, if you import a side-effectful module, there’s no guarantee that it will run before other code that relies on that side effect to have executed.

#5142 is about the bug in dev in prebundled dependencies. I think this issue is different?
But putting that issue aside and using the same arguments as the current additionalLegacyPolyfills option, this seems like a fine addition to me.

#5142 is about the bug in dev in prebundled dependencies. I think this issue is different?

It might be https://github.com/rollup/rollup/issues/3888 that I ran into (which also references #5142). But thanks for approving the PR, can’t wait to try it out 🙂

@bluwy apologies for the direct ping, but when do you expect to publish a new version?

I think as soon as after https://github.com/vitejs/vite/pull/16566 is merged, which is also plugin-legacy related.

I've published 5.4.0 as the other PR needs additional work than expected.

Thank you so much, @bluwy!


Add support for cycling tab autocomplete

This should fix 351, 353 and adamdriscoll/14

Looks good after resolve conflicts. You can follow these steps to resolve conflicts and push them to this branch:
[In local dev branch]
git pull origin
git checkout TabComplete
[In local TabComplete branch]
git merge dev
[Resolve conflicts if any, you can do this through VS]
Commit the changes and push
@EricJizbaMSFT

Looks good after taking care of @EricMSFT 's comment!
Do we have some unit tests for the useful methods in the TabCompleteSession class?


Exception running WIP Brokerage

Expected Behavior
That the shell Brokerage implementation we (@rterbush and I) are working on runs without error
Actual Behavior
Receive this exception
20210819 09:59:15.378 ERROR:: Engine.Run(): Error running algorithm System.ArgumentException: Brokerage must be of type BacktestingBrokerage for use wth the BacktestingTransactionHandler
   at QuantConnect.Lean.Engine.TransactionHandlers.BacktestingTransactionHandler.Initialize(IAlgorithm algorithm, IBrokerage brokerage, IResultHandler resultHandler) in /Users/frankc01/sb/Lean/Engine/TransactionHandlers/BacktestingTransactionHandler.cs:line 44
   at QuantConnect.Lean.Engine.Engine.Run(AlgorithmNodePacket job, AlgorithmManager manager, String assemblyPath, WorkerThread workerThread) in /Users/frankc01/sb/Lean/Engine/Engine.cs:line 300

Reproducing the Problem
This is coming from our Lean fork: https://github.com/SignalBuilders/Lean/tree/brokerage-5826-rithmic-exchange where I've defined the RithmicBrokerage and RithmicBrokerageFactory by trying to follow the (seems out of date and incomplete) https://www.quantconnect.com/tutorials/open-source/brokerage-development-guide
It builds fine dotnet build from root of Lean fork
I run with
cd sb/Lean/Launcher/bin/Debug
dotnet QuantConnect.Lean.Launcher.dll >> ~/leanout.log 2>&1

System Information
macos Big Sur
Checklist

[x] I have completely filled out this template
[ ] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Any input/support for this?
Thanks

Hey @FrankC01! Have you tried using "transaction-handler": "QuantConnect.Lean.Engine.TransactionHandlers.BrokerageTransactionHandler",, suggest reviewing other brokerage configurations at https://github.com/QuantConnect/Lean/blob/master/Launcher/config.json#L193

I am using other implementation to reverse engineer how to implement a new brokerage. Here is my environment:
    "live-rithmic": {
      "live-mode": true,
      // the rithmic brokerage requires the BrokerageTransactionHandler
      "live-mode-brokerage": "RithmicBrokerage",
      "data-queue-handler": "RithmicBrokerage",
      //"data-queue-handler": "QuantConnect.Lean.Engine.DataFeeds.Queues.LiveDataQueue",
      "setup-handler": "QuantConnect.Lean.Engine.Setup.BrokerageSetupHandler",
      "result-handler": "QuantConnect.Lean.Engine.Results.LiveTradingResultHandler",
      "data-feed-handler": "QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed",
      "real-time-handler": "QuantConnect.Lean.Engine.RealTime.LiveTradingRealTimeHandler",
      "transaction-handler": "QuantConnect.Lean.Engine.TransactionHandlers.BrokerageTransactionHandler"
    }

However; I still get Error running algorithm System.ArgumentException: Brokerage must be of type BacktestingBrokerage

Hey @FrankC01, that error is only possible if you are using the BacktestingTransactionHandler see https://github.com/QuantConnect/Lean/blob/5d762d16b2ec7bd48fd766b772b0921862deda22/Engine/TransactionHandlers/BrokerageTransactionHandler.cs#L141 & https://github.com/QuantConnect/Lean/blob/5d762d16b2ec7bd48fd766b772b0921862deda22/Engine/TransactionHandlers/BacktestingTransactionHandler.cs#L44 . Closing for now since this isn't an issue in Lean, my guess is there must be something else wrong in your fork or environment

Hi @Martin-Molinero I appreciate that this is not a "bug" in Lean but more so issues with trying to develop a Broker.
Looking at the other implementations does not cover nuances like the TransactionHandlers.... and the Broker Development documentation is woefully lacking in this regard.
Is there a better, up to date, resource I could benefit from?

Hey @FrankC01!

Broker Development documentation is woefully lacking in this regard.

Sorry about that we are aware and will work on improving it shortly 👍

Hi @Martin-Molinero
Will check out the latest as per your suggestion.
Happy to hear the docs are being worked on... any ETA on that?
Thanks


Update onboarding-defender-experts-for-hunting.md

minor edits inline- replaced tan with den and expanded O365 to office 365

Docs Build status updates of commit 04d503c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/onboarding-defender-experts-for-hunting.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 04d503c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender/onboarding-defender-experts-for-hunting.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Tabs for Open Roberta xNN are not loaded when using a direct link

Describe the bug

The tabs "NEURONALES NETZ Definieren" und "NEURONALES NETZ Lernen" are not displayed when the lab is opened by a direct link: lab.open-roberta.org/?loadSystem=xNN.

To Reproduce
Steps to reproduce the behavior:
Put the direct link lab.open-roberta.org/?loadSystem=xNN into the browser (I tested Firefox, Chrome and Microsoft Edge on Windows.).
Expected behavior

The tabs "NEURONALES NETZ Definieren" und "NEURONALES NETZ Lernen" should be displayed when using the above link.

Screenshots

Device information

Type Desktop
OS: Windows 10 (Version 22H2)
Browser: Firefox Version 115.13.0esr (64-Bit) and Google Chrome Version 127.0.6533.89 (Offizieller Build) (64-Bit) and Microsoft Edge Version 127.0.2651.74 (Offizielles Build) (64-Bit)

Additional context

Might be related to this issue https://github.com/OpenRoberta/openroberta-lab/issues/1679

Please use from now on the generated link from the startview (click on the star of the desired system), e.g.
https://dev.open-roberta.org/?loadSystem=xNN&extensions=nn
it works as expected.

works as expected


Donation

I know its not much @Dogfalo but $1 is better than nothing, isnt it @changetip?

Lol, it didnt work.
@Dogfalo $1 @changetip

Hi @dogfalo, @nahtnam sent you a Bitcoin tip worth 3,921 bits ($1.00), and I'm here to deliver it ➔ collect your tip.
Learn more about ChangeTip

Wow, ChageTip seems cool. Thanks for the donation!

Np. Enjoy.
P.S. Ill donate more sometime soon.
On Thu, Mar 19, 2015 at 9:40 PM Alvin Wang<EMAIL_ADDRESS>wrote:

Wow, ChageTip seems cool. Thanks for the donation!
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/954#issuecomment-83903067.


Add Combine Entities feature

Allow user to combine entities. Walker, Scott Walker, and Scott were all obviously the same Entity. Same with Kelly Rindfleisch and ‘Kelly Rindfleisch.

Closing issue as a duplicate of issue #53 Allow analyst to merge entities. Issue #53 was a request by the ICE - HSI representative.


[webview_flutter] Consistent allowsInlineMediaPlayback on iOS

Description
By default, iPhone does not allow "inline" video in WKWebView, even if the content explicitly calls for it using the "playsinline" attribute. Instead, iPhone overrides the web view and produces a full screen video controller.
In contrast, iPad and Android provide support for "inline" media by default.
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-playsinline
See Also: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback
Related Issues

flutter/flutter#25630
flutter/flutter#45635

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[X] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[ ] !1 My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[X] All existing and new tests are passing.
[ ] !2 I updated/added relevant documentation (doc comments with ///).
[X] The analyzer (flutter analyze) does not report any problems on my PR.
[X] I read and followed the [Flutter Style Guide].
[X] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[X] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[X] I updated CHANGELOG.md to add a description of the change.
[X] I signed the [CLA].
[X] I am willing to follow-up on review comments in a timely manner.

Notes:

!1 The updated behavior is inside the platform code, not sure how to test it.
!2 This PR introduces no developer-facing changes.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[X] No, this is not a breaking change.

I went ahead and created a (very simple) patch to address this very annoying issue.
I did not see it at first but now I see there is a (better and more robust?) PR already submitted to do the job: https://github.com/flutter/plugins/pull/2227
I would be happy to abandon my PR in favor of @sarbagyastha's version if his has a chance of getting merged.

hi @alexmarkley - cool & thank you for the PR.
Do you think we should make this flag configurable for the user (and by default keep it off, so that users who upgrade the plugin experience the same behavior as before).
In order to merge your PR, we will also need a test, version bump and a entry to the change log.
Would you be able to work on this?
Thank you!

@ened Currently this flag's behavior is different across different Apple devices, which means that the current end user experience is inconsistent between iOS and iPad.
The current behavior on iPhone is to ignore the playsinline attribute for <video> tags, so this pull request merely allows the content to specify whether the media should be played inline or not.
As such I would be absolutely shocked if it introduced any unexpected or unwanted changes to any users of this plugin.
However, as I mentioned earlier, if we want a more robust implementation of this functionality which exposes the platform-specific flags to the Flutter code, perhaps we should encourage @sarbagyastha and get his PR accepted: https://github.com/flutter/plugins/pull/2227
On another note, with regards to a test, I don't know how that would work. How can we implement a test for this behavior?
Either way I will go ahead and rebase with a new changelog and version bump.

@ened I went ahead and cleaned up the pull request to track the latest upstream changes.
Also, to clarify, I am having trouble seeing the value of exposing this flag at the Flutter/Widget level, since you would then have to turn it on twice -- once in your HTML5 <video> tag and once again in your Widget.
That said, I am not dogmatic about it, I'm happy to see the problem solved no matter how it gets solved. 😄

Also, to clarify, I am having trouble seeing the value of exposing this flag at the Flutter/Widget level, since you would then have to turn it on twice -- once in your HTML5 <video> tag and once again in your Widget.

A Flutter level setting is necessary because most of the videos on the web are streamed from video sharing platforms (Youtube, Vimeo, etc) with embed video settings.
Those videos are embedded with an iframe and does not support tag configurations because the code is in the iframe and controlled by the platform itself.

Any update on this PR?

@searchy2 Vimeo does allow this setting to be modified via their embed api (see the playsinline parameter here): https://developer.vimeo.com/player/sdk/embed
Either way, if we want a more robust (read: complex) solution, please see https://github.com/flutter/plugins/pull/2227
Until @sarbagyastha's solution gets merged, I'll just keep updating this PR to track master.

Been waiting for this feature for a while, currently this feature is supported in flutter_inappwebview but would rather not import both.

Thank you @alexmarkley, i'm waiting too for an update on this solution

I just rebased this patch against the origin again. I have no additional updates on this issue at this time.
Related issues:

https://github.com/flutter/flutter/issues/25630
https://github.com/flutter/flutter/issues/45635
https://github.com/flutter/flutter/issues/42099

any updates on this?

Any news?

Are there any updates on this?

I rebased my patch against master again. Still looking for guidance on how to proceed with this.
TBH I disagree with @searchy2 and @ened. I do not believe this is a new feature, I am of the opinion that this is a bug for all affected users, and the risk of backwards-incompatible behavior is vanishingly small.

Rebased again.

Those seem like some awfully easy conflicts to fix ^^

Rebased again.

When will this fix release?

Thanks for the contribution!

I did not see it at first but now I see there is a (better and more robust?) PR already submitted to do the job: #2227
I would be happy to abandon my PR in favor of @sarbagyastha's version if his has a chance of getting merged.

Since it appears that was landed as https://github.com/flutter/plugins/pull/3334, I'm going to close this as obsolete. If that's not the case, please let me know.