cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

App development: Chrome debugging stopped working after updating to dt-app @ 0.132.1

Zoltan
Participant

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)

 

8 REPLIES 8

imsingh
Dynatrace Advisor
Dynatrace Advisor

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

Hi Singh,

Any update on this bug fix you can share with me? What's the current ETA?

Thanks,

Zoltan

haris
Dynatrace Advisor
Dynatrace Advisor

Hi Zoltan,

The bug fix was released on January 21. Are you still experiencing the issue? 

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.

Zoltan_0-1740402721063.pngZoltan_1-1740402752844.png

 

haris
Dynatrace Advisor
Dynatrace Advisor

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/

Zoltan
Participant

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.

Zoltan_0-1740672183818.png

 

Zoltan
Participant

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

Zoltan_1-1740672429022.png

 

 

haris
Dynatrace Advisor
Dynatrace Advisor

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 🙂

Featured Posts