UNPKG

office-addin-node-debugger

Version:

Files for enabling office add-in web debugging using Node and VS Code.

19 lines 821 B
#!/usr/bin/env node "use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // Copyright (c) 2015-present, Facebook, Inc. // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. Object.defineProperty(exports, "__esModule", { value: true }); const commander_1 = require("commander"); const debugger_1 = require("./debugger"); /* global process */ const commander = new commander_1.Command(); commander .option("-h, --host <host>", "The hostname where the packager is running.") .option("-p, --port <port>", "The port where the packager is running.") .parse(process.argv); const options = commander.opts(); (0, debugger_1.run)(options.host, options.port); //# sourceMappingURL=cli.js.map