Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
SupriyaChaugule
Frequent Visitor

Debugging a Custom Visual in Power BI Desktop

I am developing a custom visual for Power BI Desktop and encountering some issues with debugging. The visual is not rendering as expected, and I need to identify potential errors in the code or data flow.

  • Are there any built-in debugging tools or extensions to troubleshoot custom visuals in Power BI Desktop?
  • How can I debug TypeScript code within Power BI?
  • Is there a way to inspect API calls or interactions between Power BI and the visual?
4 REPLIES 4
v-echaithra
Community Support
Community Support

Hi @SupriyaChaugule ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra

v-echaithra
Community Support
Community Support

Hi @SupriyaChaugule ,

May I ask if you have gotten this issue resolved?

 

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @SupriyaChaugule ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra

Anonymous
Not applicable

Hi, @SupriyaChaugule 

Thanks for reaching out to the Microsoft fabric community forum.

Regarding the issue you raised, my solution is as follows:

Currently, we recommend using the Visual Studio Code tool on the service to debug your custom visual:

Below are the officially recommended development requirements:

vlinyulumsft_0-1741066968387.png

Of course, you need to enable the following settings on the service:

vlinyulumsft_1-1741066968388.png

For more details, please refer to:

Develop a Power BI circle card visual as an example - Power BI | Microsoft Learn

Power BI visual project structure - Power BI | Microsoft Learn

 

You can also refer to other sample visuals:

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.