Skip to content

VSCode Debug Does Not Display Module Code #8973

Answered by potatoqualitee
ghost asked this question in General
Discussion options

You must be logged in to vote

i probably should make a build.ps1 work but it's SUCH a headache to do because of the way SMO works. if you look in the /build directory in dbatools.library, you can see the pain

  1. You can see the code if you clone the repo, that is still open source. It'll even debug
  2. All versions of dbatools require dbatools.library -- both the one in the gallery and the one in the repo.
  3. The GitHub version of dbatools is debuggable while the Gallery version focuses on speed import which uses compression and disables debugging
  4. Yes, many. Very many steps and I haven't automated it and put it on GitHub for others to see but it'll pretty much be build-full.ps1 and build-core.ps1 (or close, i dont have it up)
  5. T…

Replies: 8 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@wsmelton
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wsmelton
Comment options

Comment options

You must be logged in to vote
2 replies
@wsmelton
Comment options

@potatoqualitee
Comment options

Answer selected
Comment options

You must be logged in to vote
2 replies
@potatoqualitee
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@wsmelton
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
Converted from issue

This discussion was converted from issue #8972 on June 09, 2023 23:44.