Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/backend/devtools.js |
| diff --git a/third_party/WebKit/Source/devtools/backend/devtools.js b/third_party/WebKit/Source/devtools/backend/devtools.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2e5c2360be420df539b41d1d816695649395d85b |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/devtools/backend/devtools.js |
| @@ -0,0 +1,12 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +var dispatcher = require("./dispatcher.js"); |
| +var terminal = require("./terminal.js"); |
| + |
| +var d = new dispatcher.Dispatcher(); |
| +d.registerObject("Terminal", terminal.Terminal); |
| +d.start(9022); |
| + |
| +console.log("Run chrome as `chrome --devtools-flags='{\"service-backend\": \"ws://localhost:9022/endpoint\"}'`"); |