28 Nov 2024
05:05 PM
- last edited on
29 Nov 2024
10:23 AM
by
MaciejNeumann
2 days ago I've updated to the latest version with
npx dt-app@latest update - got updated to 0.132.1
Since then, I can't debug my custom react dt-app in chrome, edge. It seems that either starting with npm start, or npx dt-app dev, it starts the app in production mode. (see screenshot attached).
When reverting back to 0.130.5, it stats correctly in development mode both with npm start, npx dt-app dev
(How I reverted back? created a new blank dt-app project, then copied over to my project folder node_modules folder, package.json from the blank project)
Solved! Go to Solution.
19 Dec 2024 12:38 PM
Hi Zoltan
This is already identified bug and fix is in work. At this point, you should downgrade the App Toolkit to `0.130.5` by updating it in package.json and then running `npm install` command.
Fix will be available in Jan next year.
Thanks
Indermohan Singh
14 Feb 2025 12:50 PM
Hi Singh,
Any update on this bug fix you can share with me? What's the current ETA?
Thanks,
Zoltan
17 Feb 2025 12:59 PM
Hi Zoltan,
The bug fix was released on January 21. Are you still experiencing the issue?
24 Feb 2025 01:12 PM
Can someone assist me with finding the problem?
I have done a fully clean installation, with the latest dt-app, yet I'm still getting "app is running in production mode", and no breakpoints support.
24 Feb 2025 03:21 PM
Hi Zoltan,
The extension message looks all right. When you open the devTools in Chrome, do you see Components and Profiler tabs added?
I've tested with the latest version of dt-app, and both debugging and breakpoints work using Chrome & VSCode.
We can have a look at this together if you'd like: https://calendly.com/haris-hibic/
27 Feb 2025 04:03 PM
Hi Haris,
This time it was my bad, had a messed up node env with all the different node versions I've tried.
Yes, I can confirm it's been resolved, react starts in development mode, and my breakpoints are registered.
27 Feb 2025 04:07 PM
One thing that caught my eyes is in the console, it's still saying React is running in production mode
It doesn't bother me as long as debug breakpoints are working, nevertheless I'm sharing this info here
28 Feb 2025 11:21 AM
It seems like you have both the prod and dev stages running there and some dead code files. Can you check if that's the issue since I can't replicate this myself unless I get your repo 🙂