Skip to content

refactor: move inspector server implementation to separate crate, make server a global#31895

Merged
bartlomieju merged 14 commits intodenoland:mainfrom
bartlomieju:enable_process_features_inspector
Jan 20, 2026
Merged

refactor: move inspector server implementation to separate crate, make server a global#31895
bartlomieju merged 14 commits intodenoland:mainfrom
bartlomieju:enable_process_features_inspector

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

This commit moves the implementation of InspectorServer to
a new deno_inspector_server crate, this change is required because
this struct is used in both runtime/ and ext/node/ crate which
requires to have a crate that both can use.

Additionally the inspector server has been made a singleton global that
can be created and retrieved by all crates using it, which is a prerequisite
for implementing #31863.

Copy link
Copy Markdown
Contributor

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit 6c22c73 into denoland:main Jan 20, 2026
19 checks passed
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