PyCharm 2021.1 Help

Spy-js Capture Exclusions Dialog

The dialog box opens when you click the Capture Events button Capture Events toolbar button in the Events pane of the Spy-js tool window. In this dialog box, define custom filters to configure the range of events displayed and traced in the tool window. See Spy-js for details.

The dialog box consists of two panes. The left-hand, Exclusions, pane shows a list of already existing user-defined event filters. The right-hand, Exclusion, pane shows the details of the filter selected in the Exclusions pane.

ItemDescription
Exclusions paneThe pane shows a list of all currently available user-defined filters.
  • To define a new event filter, click Icons general add on the toolbar, then specify the filter name and exclusion rules in the Exclusion pane.

  • To create a filter based on an already existing one, make a copy of the source filter by selecting it and clicking Icons actions copy, and then rename and edit the copy as required in the Exclusion pane.

  • To temporarily disable a filter, clear the checkbox next to it.

  • To remove a filter from the list, select it and click Icons general remove.

Exclusion paneOn this pane, configure custom event filters. For each filter, specify its name and create a list of exclusion rules.
  • To add a rule, click Icons general add, the Add Condition to Exclusion dialog opens. Type a pattern in the Value/pattern field, in the Condition type list specify whether the pattern should be applied to event types or script names. Note that glob pattern matching is used. When you click OK, PyCharm brings you to the Spy-js Capture Exclusions Dialog.

  • To edit a rule, select it in the list, click Icons actions edit, and update the rule in the dialog box that opens.

  • To remove a rule, select it in the list and click Icons general remove.

Last modified: 08 March 2021