prepack
Version:
Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.
74 lines (44 loc) • 2.81 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DebugMessage = void 0;
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
/* strict */
//A collection of messages used between Prepack and the debug adapter
class DebugMessage {}
exports.DebugMessage = DebugMessage;
_defineProperty(DebugMessage, "DEBUGGER_ATTACHED", "DebuggerAttached");
_defineProperty(DebugMessage, "PREPACK_RUN_COMMAND", "PrepackRun");
_defineProperty(DebugMessage, "BREAKPOINT_ADD_COMMAND", "Breakpoint-add-command");
_defineProperty(DebugMessage, "BREAKPOINT_REMOVE_COMMAND", "Breakpoint-remove-command");
_defineProperty(DebugMessage, "BREAKPOINT_ENABLE_COMMAND", "Breakpoint-enable-command");
_defineProperty(DebugMessage, "BREAKPOINT_DISABLE_COMMAND", "Breakpoint-disable-command");
_defineProperty(DebugMessage, "STACKFRAMES_COMMAND", "Stackframes-command");
_defineProperty(DebugMessage, "SCOPES_COMMAND", "Scopes-command");
_defineProperty(DebugMessage, "VARIABLES_COMMAND", "Variables-command");
_defineProperty(DebugMessage, "STEPINTO_COMMAND", "StepInto-command");
_defineProperty(DebugMessage, "STEPOVER_COMMAND", "StepOver-command");
_defineProperty(DebugMessage, "STEPOUT_COMMAND", "StepOut-command");
_defineProperty(DebugMessage, "EVALUATE_COMMAND", "Evaluate-command");
_defineProperty(DebugMessage, "PREPACK_READY_RESPONSE", "PrepackReady");
_defineProperty(DebugMessage, "PREPACK_FINISH_RESPONSE", "PrepackFinish");
_defineProperty(DebugMessage, "STOPPED_RESPONSE", "Stopped-response");
_defineProperty(DebugMessage, "STACKFRAMES_RESPONSE", "Stackframes-response");
_defineProperty(DebugMessage, "SCOPES_RESPONSE", "Scopes-response");
_defineProperty(DebugMessage, "VARIABLES_RESPONSE", "Variables-response");
_defineProperty(DebugMessage, "STEPINTO_RESPONSE", "StepInto-response");
_defineProperty(DebugMessage, "EVALUATE_RESPONSE", "Evaluate-response");
_defineProperty(DebugMessage, "BREAKPOINT_ADD_ACKNOWLEDGE", "Breakpoint-add-acknowledge");
_defineProperty(DebugMessage, "BREAKPOINT_REMOVE_ACKNOWLEDGE", "Breakpoint-remove-acknowledge");
_defineProperty(DebugMessage, "BREAKPOINT_ENABLE_ACKNOWLEDGE", "Breakpoint-enable-acknowledge");
_defineProperty(DebugMessage, "BREAKPOINT_DISABLE_ACKNOWLEDGE", "Breakpoint-disable-acknowledge");
//# sourceMappingURL=DebugMessage.js.map