It's not possible to debug the application #756
-
Issue summaryIt's not possible to correctly debug the application. The debbuger functions (e.g. next line, settings break points etc.) don't work correctly. I tested both with JetBrains products and with VSCode. This is not a very good development experience. Expected behaviorThe application template provided by Shopify allows to be debugged correctly , providing a good development experience. Actual behaviorThe application template provided by Shopify cannot be easily debugged. Tip: include an error message (in a Steps to reproduce the problemInitialize the application under a debug and try to set endpoints and navigate the code using debugger functions for instance in. Reduced test caseDebug the "afterAuth" method, when going trough to the shop = ctx.query.shop line, the debugger breaks. SpecificationsTested in WebStorm and VSCode. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
This comment has been minimized.
This comment has been minimized.
-
What happened was that the "debugger" started, but clearly it wasn't matching correctly the source code to the executed code. I was able to make this work by making some modifications to the app template server/index.js
babel.server.config.json
And then finally modify the package.json to include the "--inspect" flag package.json
|
Beta Was this translation helpful? Give feedback.
What happened was that the "debugger" started, but clearly it wasn't matching correctly the source code to the executed code.
I was able to make this work by making some modifications to the app template
server/index.js
babel.server.config.json
…