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

chore: web package debugger configuration for vs code #2745

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

p0mvn
Copy link
Member

@p0mvn p0mvn commented Jan 29, 2024

Progress towards: #2739

What is the purpose of the change

This PR adds a VS code debugger configuration.

It enables starting the app and setting breakpoints in the web package. I'm still investigating how to achieve setting breakpoints in other packages and tracking progress in #2739.

Copy link

vercel bot commented Jan 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
osmosis-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 2:40am
osmosis-frontend-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 2:40am
osmosis-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 2:40am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
osmosis-frontend-edgenet ⬜️ Ignored (Inspect) Jan 29, 2024 2:40am
temp-osmosis-frontend-proxy-test ⬜️ Ignored (Inspect) Jan 29, 2024 2:40am

@jonator
Copy link
Member

jonator commented Jan 29, 2024

This is just for stepping through the backend?

@jonator
Copy link
Member

jonator commented Jan 29, 2024

For client, it's possible to set breakpoints in the source maps in the source tab in chrome dev tools

Copy link
Collaborator

@MaxMillington MaxMillington left a comment

Choose a reason for hiding this comment

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

can I introduce you to console.log 😂

@p0mvn
Copy link
Member Author

p0mvn commented Jan 30, 2024

This is just for stepping through the backend?
For client, it's possible to set breakpoints in the source maps in the source tab in chrome dev tools

This is still only relevant to the web package (client) but it is already helping me run and debug it directly through vs code, offering more convenience. I will continue investigating how to also enable other packages.

can I introduce you to console.log 😂

I like being in the driver's seat 🤣

@p0mvn
Copy link
Member Author

p0mvn commented Jan 30, 2024

Merging with one ACK since this is a config update

@p0mvn p0mvn merged commit 09df958 into stage Jan 30, 2024
17 checks passed
@p0mvn p0mvn deleted the roman/debug-config branch January 30, 2024 05:08
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.

3 participants