| Developers Guide

| Developers Guide

  • Docs
  • API
  • Help
  • Blog

›Advanced Guides

Notes on Versions Released

  • Migrating & Updating
  • Updating to New Releases

Getting Started

  • Introduction
  • Installation
  • Quick Start

Main Concepts

  • Overview
  • Glossary
  • CMS
  • Dialog Engine
  • Actions & Hooks
  • Memory
  • Modules
  • NLU
  • Emulator

Advanced Guides

  • Debug
  • Configuration
  • Authentication Methods
  • Custom Module
  • Performances
  • Hosting
  • Version Control
  • Development Pipelines
  • Clustering

Channels

  • Website Embedding
  • Facebook Messenger
  • Telegram
  • Microsoft Teams
  • Converse API
  • Slack
  • Smooch (Sunshine Conversations)
  • FAQ

Tutorials

  • Deploying a cluster on Digital Ocean
  • How to act on an intent
  • Acting Proactively
  • Using Carousel Postback
  • How to use Slot Skill
  • How to use Call API Skill
  • Calling an API in a Custom Action
  • Shortlinks
  • Connecting your bot with your existing backend
  • Supported databases
  • Timeouts
  • Human in the loop
  • Jump To
  • Inter-bot Communication / Delegation
  • Contextual FAQ
  • Authenticate a user against a 3rd Party OAuth
  • Listening for file changes
  • Using a 3rd party NLU
  • Using the UiPath integration for Botpress

Pro Edition

  • About
  • Licensing
  • Configuring RBAC
  • Monitoring & Alerting
  • Bot Pipelines
  • Internationalization

Debug

How To Use

Botpress uses the debug package to log information about dialogs, hooks, middleware, nlu and others.

To see all the logs, set DEBUG=bp:* yarn start if you're in development or DEBUG=bp:* ./bp if you're executing the binary.

You can set multiple namespaces by separating them by a comma:

# On Linux / Mac
DEBUG=bp:nlu:*,bp:dialog:* yarn start

# On Windows
set DEBUG=bp:nlu*,bp:dialog:*&& yarn start

Setting Default Namespaces

You can add DEBUG to your .env file located in your root folder to set default namespaces.

DEBUG=bp:dialog:*,bp:nlu:intents:*

Available namespaces 🔬

This feature is experimental and is subject to change

Go to <your_url>/admin/debug to see a complete list of the available namespaces. The super-admin role is required to access this page.

You can also enable or disable them from this screen:

Debugging

← EmulatorConfiguration →
  • How To Use
  • Setting Default Namespaces
  • Available namespaces 🔬
| Developers Guide
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2021 Botpress Inc.