Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspection Middleware disabled ? #2410

Closed
2 of 7 tasks
InnoraG opened this issue Mar 29, 2020 · 3 comments
Closed
2 of 7 tasks

Inspection Middleware disabled ? #2410

InnoraG opened this issue Mar 29, 2020 · 3 comments
Assignees
Labels
Type: Bug Something isn't working

Comments

@InnoraG
Copy link

InnoraG commented Mar 29, 2020

Describe the bug

Emulator inspector not able to debug Composer generated bot

Version

4.7.0-preview-191208-1

Browser

  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Composer -> Start Bot
  2. Emulator -> Debug

Expected behavior

Should see like "/INSPECT attach db2fbbba-da64-4d74-b4b8-3d4dc054f0a9"

Screenshots

Additional context

@InnoraG InnoraG added Needs-triage A new issue that require triage Type: Bug Something isn't working labels Mar 29, 2020
@cwhitten cwhitten removed the Needs-triage A new issue that require triage label Mar 30, 2020
@luhan2017
Copy link
Contributor

Yes, I disabled it because the trace of BotState is already by-default enabled in the Bot and emulator.
Could I know what is the specific feature you want for InspectionMiddleware, can "BotState trace" meet your requirement? @InnoraG

@InnoraG
Copy link
Author

InnoraG commented Apr 1, 2020

Thanks for clarity.
BotState can be ok when in local dev environment but inspection middleware is great for remote debugging of production bot, I am using inspection middleware to troubleshoot use case on real user on real channel for example.
Inspection middleware is the dependency of Bot Framework Emulator -> Debug -> Start Debugging so this feature doesn't currently work on Composer generated bots.
Anyway it could be activated easily.

@luhan2017
Copy link
Contributor

luhan2017 commented May 9, 2020

@InnoraG you can enable it by runtime configuration now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants