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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
SupriyaChaugule
New Member

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?
1 REPLY 1
v-linyulu-msft
Community Support
Community Support

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