question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement blocklist and allowlist for debugger configuration for justMyCode

See original GitHub issue

This is a feature request for breakpoint debugging - to add a new butting for “Step in into my code” in addition to current existing “Step in”. This is same as PyCharms (or) any Jetbrains IDE.

This would help conditionally choosing in which part should I need to step into standard library. so justMyCode is not helpful here - it either turns on or off the library debugging as whole.

If you don’t like it, then I would like to have allowlist (and blocklist) options to specify libraries I want to step into (or not) when justMyCode is set to false. I think java debugger for vscode has something similar to this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
karthiknadigcommented, Oct 20, 2020

@jahan01 We have this ‘allowlist’ and ‘blocklist’ in the debugger. But we haven’t yet exposed this. You can use the “rules” field to do this, but it is not final.

    {
      "name": "Python: Current File",
      "type": "python",
      "request": "launch",
      "program": "${file}",
      "console": "integratedTerminal",
      "rules": [
          {"path": "<glob pattern>", "include": true},  // Include or Exclude using a glob pattern or file name
          {"module": "module name", "include": true}, // Include or Exclude by module name
        ],
    },
Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug user code with Just My Code - Visual Studio (Windows)
Just My Code is a debugging feature that automatically steps over calls to non-user code. Learn how to enable, disable, and use this...
Read more >
Debugging configurations for Python apps in Visual Studio Code
This article mainly addresses Python-specific debugging configurations, including the ... When you use the command, VS Code prompts you with a list of...
Read more >
Apex Interactive Debugger | Salesforce for VSCode
Apex Interactive Debugger, also called the Apex Debugger, is a traditional debugger that allows customers to debug their Apex code in sandboxes and...
Read more >
How to disable "just my code" setting in VSCode debugger?
This configuration can only be used by the test debugging commands. "request": "test" is deprecated use "purpose" instead. – y_159. Feb 10 at...
Read more >
Use VS Code to debug .NET applications | Red Hat Developer
You can debug an application in the Release configuration by adding "justMyCode ": false to the configuration. Note that release optimizations ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found