Extension Settings

You have the option to change the following settings of the Catalyst Tools extension in the IDE per your preference:

  • Provide a custom credential path. A custom credential path is the location you set in your local system, where your account credentials will be stored as a JSON file.

  • Select if you wish the IDE’s debugger to be active while perfoming the Run/Debug operation.

You can access the Settings section by following the steps below:

  1. Click the settings icon present in the IDE’s sidebar. catalyst_extension_settings_select

  2. Click Settings. catalyst_extension_settings_section

  3. Search for Catalyst in the search bar. catalyst_extension_catalyst_search

Your default credential path will be listed, and the debugging configuration of your IDE will also be enabled by default.

Change The Default Credential Path

In the Users section of the extension settings, you will be able to change the credential path.

To change the credential path follow the steps below:

  1. Click Add Item. catalyst_extension_settings_add_item_highlight

  2. Enter your preferred path and click OK. catalyst_extension_settings_add_item_ok
    The default path will be changed to your preferred path.

  3. In your selected path a directory named zcatalyst-vscode will be created. When you log in from the extension, your credentials will be stored in this directory in a JSON file.

The following changes occur when you change the credential path:

  • The authentication codes you had previously generated will no longer be accessible. You will have to generate new codes once again.

  • You will have to log in to your Catalyst account again.

Note: The old codes you generated will still be present in a encrypted manner in the original default path. To view it again, you will just need to revert to the default path, and no regeneration of codes is required.

Edit or Revert Your Credential Path to Default

To edit the credential path:

  1. Click the edit icon. catalyst_extension_settings_edit_item

  2. Provide an updated path and click OK. catalyst_extension_settings_editing

To revert to the default credential path:

  1. Click the remove icon. catalyst_extension_settings_remove_item

  2. The credential path will be reverted to default. catalyst_extension_settings_default_path

Enable or Disable IDE’s Debugging Section

By default, when you use the Run/Debug feature in the HTTP FUNCTIONS or NON HTTP FUNCTIONS section, you will automatically be able to use the IDE debugger. If you disable the debugging option in the IDE, you will simply be able to serve the function without a debugger attached, when you click Run/Debug.

If you no longer wish to be directed to the debugger and wish only to serve the function, follow the steps below:

  1. Navigate to the settings section and select the Zcatalyst: Debug option. catalyst_extension_debug_select_check

  2. Uncheck the option to ensure that the IDE debugger is not attached to your function when you execute the catalyst serve command. catalyst_extension_debug_uncheck

You can re-enable the IDE debugger at any time by following the same steps.

Note: You can navigate to either the User section or the Workspace section to modify this setting. However, if you modify it in the Workspace section, then the change will only apply to the current project. If you change this in the User section, the changes will be applied globally.

Last Updated 2023-09-03 11:54:50 +0530 +0530