Waiting for a connection with Sciter's view on pipe...

To enable inspector in your application, call either one of these in the code of your application:

  1. SciterSetOption(NULL, SCITER_SET_DEBUG_MODE, TRUE); at the beginning of your main function. This will enable Inspector for any Sciter window/view, or
  2. SciterCreateWindow(..., ... | SW_ENABLE_DEBUG); - create Sciter window with SW_ENABLE_DEBUG flag.

Shortcuts that are active in inspector-enabled view:

To connect your application to the Inspector either run inspector before launching your application or call this:

    import * as sys from "@sys";
    import { launch, home, PLATFORM } from "@env";

    async function launchInspector() {
      const SUFFIX = { Windows: ".exe", OSX: ".app" };
      const PREFIX = { Windows: "\\", OSX: "/../../../" };

      let inspectorPath = home((PREFIX[PLATFORM] || "") + "inspector" + (SUFFIX[PLATFORM] || ""));

      try {
        await sys.fs.stat(inspectorPath);
        launch(inspectorPath);
      } catch (e) {
        Window.modal(<alert>Cannot find {inspectorPath}</alert>);
      }
    }