Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The linecache debugging information can be inconvenient on some editors #1628

Closed
beckjake opened this issue Jul 23, 2019 · 0 comments · Fixed by #1629
Closed

The linecache debugging information can be inconvenient on some editors #1628

beckjake opened this issue Jul 23, 2019 · 0 comments · Fixed by #1629
Assignees

Comments

@beckjake
Copy link
Contributor

Issue

Currently when dbt builds a macro, it inserts the lines into the linecache that most python debuggers use, with a fake filename. This makes some editors/debugging tools sad.

Issue description

This feature is a pretty silly hack that only exists to make stepping through macros in the
debugger easier, so it should probably be disabled by default.

To recreate, run dbt init.

Results

Editor complained that files were not found during debugging (accurately, as they did not exist)

System information

The output of dbt --version:

0.14.0

The operating system you're running on:
Windows, but also really any.

The python version you're using (probably the output of python --version)
Any

@beckjake beckjake self-assigned this Jul 23, 2019
beckjake added a commit that referenced this issue Jul 26, 2019
…ks-flag

Add environment variables for macro debugging flags (#1628)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant