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

💡 [Feature]: Support debug option #282

Open
Adam-it opened this issue Jul 28, 2024 · 0 comments
Open

💡 [Feature]: Support debug option #282

Adam-it opened this issue Jul 28, 2024 · 0 comments
Labels
⭐ enhancement New feature or request 💪 good first issue Good for newcomers 🙏 help wanted Open for contributors
Milestone

Comments

@Adam-it
Copy link
Contributor

Adam-it commented Jul 28, 2024

🎯 Aim of the feature

Based on the problem we had in issue #278 it is not the first time that running local instance of CLI for M365, and related commands in debug, gave some answers on what could be the problem. This is some problem as the user needs to install CLI for M365 locally to make the double check which in general is not needed for this Toolkit to work.

The idea is to:

  1. Add a VS Code setting to the extension, maybe a checkbox like 'run CLI commands in debug'
    image

  2. Setting this would add the --debug option to each CLI for M365 command and will show their output in the VS Code extension output logs. We should add the debug option when any CLI command is executed in this methods

    private static async tryExecuteCommand(command: string, output: string | undefined = 'text', args?: any): Promise<CommandOutput> {

@Adam-it Adam-it added ⭐ enhancement New feature or request ✏️prototype labels Jul 28, 2024
@Adam-it Adam-it added this to the v3.X milestone Jul 28, 2024
@Adam-it Adam-it self-assigned this Jul 28, 2024
@Adam-it Adam-it added 💪 good first issue Good for newcomers 🙏 help wanted Open for contributors and removed ✏️prototype labels Jul 29, 2024
@Adam-it Adam-it removed their assignment Jul 29, 2024
@Adam-it Adam-it modified the milestones: v3.X, v4.X Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement New feature or request 💪 good first issue Good for newcomers 🙏 help wanted Open for contributors
Projects
None yet
Development

No branches or pull requests

1 participant