Skip to content

Conversation

@nguyenmthien
Copy link

Change debug paradigm to attach to a prelaunched west debugserver instance. task.json now have two new tasks: one run debugserver in silent mode in the terminal window, and one to close it. launch.json now call the debugserver window at start and then attach the debugger to it instead of launching the debugger directly. This unionize the debug calls to west debug only.

Change debug paradigm to attach to a prelaunched west debugserver
instance. task.json now have two new tasks: one run debugserver in
silent mode in the terminal window, and one to close it. launch.json
now call the debugserver window at start and then attach the debugger
to it instead of launching the debugger directly. This unionize the
debug calls to west debug only.

Signed-off-by: Thien Nguyen <[email protected]>
@nguyenmthien
Copy link
Author

This is to response to #1

@beriberikix
Copy link
Owner

Thanks for the contribution! Since this is more of a sample (and related to a talk,) Great enhancement! I'd prefer to keep the original launch configuration but add it as an additional example.

I do like your idea of making a template repo that incorporate "best practices" and make that as a separate repo.

WDYT?

@beriberikix
Copy link
Owner

Can you add the changes to the *.code-workspace files too?

@nguyenmthien
Copy link
Author

nguyenmthien commented Jul 27, 2023

Thanks for the contribution! Since this is more of a sample (and related to a talk,) Great enhancement! I'd prefer to keep the original launch configuration but add it as an additional example.

I do like your idea of making a template repo that incorporate "best practices" and make that as a separate repo.

WDYT?

I am down for creating a "best practices" template repo for Zephyr in VS Code :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants