Tool Settings
The BaaS extension tool have settings to control behaviors for authentication, logging, communication, and user interaction.
The VS Code settings are available when clicking the cog wheel in the Activity Bar and then selecting settings. Expand the Extensions category, and there a BaaS entry is found. There is a shortcut command to open the BaaS settings. Press F1 and select 'BaaS: Open Settings'.
Authentication Settings
- Auto Login Launch
- Default: Enabled
Enable this setting to launch the login sequence in a browser when the extension requires authentication.
- Auto Refresh Login
- Default: Enabled
Enable this setting to refresh the access token when it expires to continue login session. Limited by Max Refresh Cycles setting.
- Max Refresh Cycles
- Default: 5
Set the maximum number of refresh token cycles after successful login. (0 = no limit)
- Enable Local Environment
- Default: Enabled
Enable this setting to allow access to URL, token, and so on in environment variables to run BaaS service in a local environment and to be able to call other APIs for example.
- Prevent Use of PROD Tenant in Portal Url
- Default: Enabled
Prevent use of the production tenant in the portal URL. The Tenant cannot end with \_PRD.
- Remember Login On Restart
- Default: Enabled
Enable this setting to remember current login tokens when Visual Studio Code is restarted.
- Enable Session Provider Server
- Default: True
Enable the localhost session provider server to handle requests from a REST client.
- Session Provider Server Port
- Default: 50010
The port where the session provider listens on the localhost to handle requests from a REST client.
- Session Provider Server Access Key
- Default (redacted): ################################
REST client requests must have a matching access key in the request to be successful; otherwise, set a blank value to disable access key verification.
- Sync Tenant Selection Between Instances
- Default: true
Sync tenant selection between multiple instances of Visual Studio Code and BaaS Extension. This is important when running locally to ensure consistent session values between instances.
- Auto Archive Build Logs
- Default: Disabled
Enable this setting to put the current build log in the log archive when new build is started.
Log Settings
- Client Log Level
- Default: Info
Select the severity level of log messages to be added into the BaaS Extension log file. For debug support, use Trace level.
- Exclude Progress Entries in Build File
- Default: Enabled
Enable to exclude progress entries when retrieving the Build service log. This reduces the content with approx 50%.
- Search Start Time Service Log
- Default: 24
The timespan in hours to look back (from now) when searching in the service logs.
- Use Fiddler Proxy
- Default: Disabled
Enable this setting to allow Fiddler to listen on server communication. Makes TLS connections and HTTPS requests insecure by disabling certificate verification. Enable setting, launch Fiddler, and restart VS Code to ensure it works.
- Watch Limit
- Default: 3
Maximum number of active log watches.
- Watch Update Frequency
- Default: Once at Launch
The update frequency of watched service logs. A maximum of three logs can be watched at a time. The default value updates the logs when the BaaS Extension is launched. Other options are: Manual, Every 30 min, Every Hour, Every 2 Hours, and Every 4 Hours.
Service Settings
- Login Timeout
- Default: 30
The timeout in seconds for the login sequence.
- Timeout
- Default: 90
The timeout in seconds for BaaS Feature service calls.
Storage Settings
- Path Local Root
- Default: The local storage path to the source code for BaaS Service
Workspaces under development.
We recommend that the folder is connected to a Source Code Control System (SCCS). For example: C:\Users\jdoe\Development\git
User Interaction Settings
- Auto Update Check
- Default: Enabled
Enable this setting to check for updates to the BaaS Extension and the BaaS Framework Libraries after Visual Studio Code is launched and developer is authenticated.
Initial Focus on Service Explorer
Default: Enabled
Put focus on Service Explorer when the BaaS Extension is launched.
Local Build Timeout
Default: 30
The timeout in seconds for waiting on the Quick Deploy local build result (seconds).
- Show Progress In
- Default: Notification.
- Workspace Manifest Assistance
- Default: Enabled
- Show Guide in Service Explorer
- Default: Enabled