Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio code breakpoint set to grey color & not working.error(may be excluded because of "justMyCode" option)

I have set breakpoint in Django core library in visual studio code but when I am starting debugging of my project , those debug point color changed from red to grey & show me notification like below.

Breakpoint in file excluded by filters.
Note: may be excluded because of "justMyCode" option (default == true).

I have set justmycode value to false from visual code option but still I am not able to set breakpoint.

Notification_msg

Even I have read SO question related but not able to solve my issue so I have to post my question.
I have tried to set localroot & remoteroot but not working even.

like image 517
Moon Avatar asked Oct 17 '19 10:10

Moon


People also ask

How do I change the breakpoint color in Visual Studio?

You can change the font color to white in Tools -> Options -> Environment -> Fonts and Colors -> Breakpoint (enabled) .

How do I change Debug configuration in VS Code?

Once you have your launch configuration set, start your debug session with F5. Alternatively, you can run your configuration through the Command Palette (Ctrl+Shift+P) by filtering on Debug: Select and Start Debugging or typing 'debug ' and selecting the configuration you want to debug.

How can I change the color of my status bar in VS Code?

Press Control + Shift + P when you just open Visual Studio Code and type "open settings(UI)" and search for window. titleBarStyle and change the option from native to custom so that you can restore the colour of status bar from white to black.


1 Answers

are you using a launch configuration to run the debugger? i had the same issue and resolved by adding "justMyCode": false inside the launch.json for the proper entry.

like image 104
Equinox23 Avatar answered Sep 20 '22 18:09

Equinox23