
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
This user-friendly debugger simplifies the debugging process by accepting any number of variables and printing their names, values, and line numbers. It also offers options to add search text and include variable type information for enhanced clarity.
Pypi: https://pypi.org/project/here-debugger/
To install the debugger, use:
pip install here-debugger
Print variable names and values.
from here_debugger.debug import here_debug
a = 2
b = "Bibhash"
here_debug(a, b)
Output:
File: <current_file>: Line-4: a = 2 | b = Bibhash |
Add search text:
from here_debugger.debug import here_debug
a = 2
b = "Bibhash"
here_debug(a,b, custom_search_text="Debug-")
Output:
Debug-: File: <current_file>: Line-4: a = 2 | b = Bibhash |
Print variable type information:
from here_debugger.debug import here_debug
a = 2
b = "Bibhash"
c = [2,2]
d = {}
here_debugger(a,b,c,d, custom_search_text="Debug-", include_types=True)
Output: Debug-: File: <current_file>: Line-6: a = 2, type = <class 'int'> | b = Bibhash, type = <class 'str'> | c = [2, 2], type = <class 'list'> | d = {}, type = <class 'dict'> |
Update: Now supports constants:
from here_debugger.debug import here_debug
a = 2
here_debug(a,"Bibhash", custom_search_text="Debug-")
Output:
Debug-: File: <current_file>: Line-4: a = 2 | Bibhash |
FAQs
A user friendly debugger, just like print statement, but much more.
We found that here-debugger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.