Coder Social home page Coder Social logo

Comments (10)

daviwil avatar daviwil commented on May 18, 2024

You may need to use version 0.1.0. If that doesn't work let me know and I'll see if I can help diagnose.

from vscode-powershell.

pascalberger avatar pascalberger commented on May 18, 2024

I installed it through ext install. If I enter extit says PowerShell is at version 0.1.0.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Right, what I mean is that in your JSON file, use 0.1.0 as the version, not 0.2.0. The result:

{
    "version": "0.1.0",
    "configurations": [
        {
            "name": "PowerShell",
            "type": "PowerShell",
            "program": "DebugTest.ps1"
        }
    ] 
}

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Also, hopefully this isn't a dumb question, but have you installed the PowerShell extension in VS Code? Ctrl+Shift+P, type 'Install Extension', press enter, type 'PowerShell' press enter, restart VS Code.

from vscode-powershell.

pascalberger avatar pascalberger commented on May 18, 2024

@daviwil Yes I installed it through ext install. If I enter ext it says PowerShell is at version 0.1.0.

Changing version in launch.json to 0.1.0 doesn't help.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

Sorry Pascal, I think I misunderstood the core issue that you're reporting. It seems like you're just pointing out that there are some validation errors in the launch config. I believe that their launch.json validation just hasn't been updated to take different debug adapter types into account. These warnings can safely be ignored.

Have you tried debugging a script yet? Does it work for you despite the warnings?

from vscode-powershell.

pascalberger avatar pascalberger commented on May 18, 2024

Yeah, I know that I can ignore the warning and the launcher also works.

Just wanted to report that validation is not up to date atm. Don't know if something is missing which the extension needs to provide or a bug in vscode.

from vscode-powershell.

daviwil avatar daviwil commented on May 18, 2024

I apologize, for some reason I originally interpreted it as "debugging isn't working" :) Thanks for pointing this out! I've filed a bug against Microsoft/vscode for this:

microsoft/vscode#546

from vscode-powershell.

pascalberger avatar pascalberger commented on May 18, 2024

Thanks!

from vscode-powershell.

roslanr18 avatar roslanr18 commented on May 18, 2024

Recognice lounch
jasson

from vscode-powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.