To enable and run Composer in debug mode for a more detailed analysis of its operations, carefully follow these step-by-step instructions provided below.
- Completely close Composer if already open
- Go to Composer's install location (mine is at C:\Users{username}\AppData\Local\Programs\Bot Framework Composer)
- Open a terminal in that directory (On Windows, CMD terminal seems to work best)
- run
set DEBUG=composer* - In that same terminal after step 4, run the Composer executable from the terminal.
- Ex: in Windows command prompt: run
"Bot Framework Composer.exe"
- Ex: in Windows command prompt: run
Important: You have enabled debugging successfully if you see prefixed
composer:____in the log:
- Completely close Composer if already open.
- Ensure that the Composer application is fully closed.
- Go to Composer's install location on your Mac.
- The install location on Mac might be different from Windows. Typically, applications on Mac are located in the
/Applicationsdirectory. If you've installed it elsewhere, navigate to that location.
- The install location on Mac might be different from Windows. Typically, applications on Mac are located in the
- Open a terminal.
You can do this by pressing
Cmd + Spaceto open Spotlight and then typing "Terminal" and pressing Enter. - Navigate to the Composer's directory in the terminal.
cd /Applications/Bot\ Framework\ Composer.app/Contents/MacOS/ - Set the DEBUG environment variable.
export DEBUG=composer* - Run the executable from the terminal.
- On Mac, the executable might not have the .exe extension as it does on Windows. Instead, it might just be called "Bot Framework Composer" or something similar.
./Bot\ Framework\ Composer
