PopClip JavaScript API Reference
    Preparing search index...

    Function print

    • Output a string for debugging purposes. By default it is not output anywhere, but you can configure PopClip to output to the Console app by running the following command in Terminal:

      defaults write com.pilotmoon.popclip EnableExtensionDebug -bool YES

      then Quit and restart PopClip.

      Parameters

      • ...args: any[]

        One or more values, which will be coerced to strings. Multiple parameters will be separated by a space.

      Returns void

      print("Hello, world!")
      // print: Hello, world!
      print(1, Math.PI, 2/3, ['a','b','c'])
      // print: 1 3.141592653589793 0.6666666666666666 a,b,c