vuestorefront/vue-storefront

Remote debugging

Closed this issue · 3 comments

What is your question / Please describe your issue

I'm preparing a remote development environment for Vue Storefront 2 which requires the ability to attach a remote debugger.

I know that Nuxt can be debugged via the browser's dev tools and by exposing the source maps.

However, I would like to set breakpoints on server-sided middleware, such as endpoints for API calls.

I appreciate your recommendations on finding the most efficient way to achieve this :)

What version of Vue Storefront are you using?

2.5.4

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hi @themreza,
I believe you could use the proxy server, check out this PR

@Razz21 Thank you for the suggestion, but I'm looking to set debugger breakpoints rather than capturing the network traffic. I don't think we can debug functions and inspect variables just by intercepting network requests.

Issue is closed. Reason: Too Old (>6 months)


Sergii Kirianov

Developer Advocate

Vue Storefront