Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
dgozman
2016/09/27 21:01:34
Let's not call this "backend". Can we move it to s
pfeldman
2016/09/27 21:48:59
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 var dispatcher = require("./dispatcher.js"); | |
| 6 var terminal = require("./terminal.js"); | |
| 7 | |
| 8 var d = new dispatcher.Dispatcher(); | |
| 9 d.registerObject("Terminal", terminal.Terminal); | |
| 10 d.start(9022); | |
| 11 | |
| 12 console.log("Run chrome as `chrome --devtools-flags='{\"service-backend\": \"ws: //localhost:9022/endpoint\"}'`"); | |
| OLD | NEW |