Comments (10)
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.
I installed it through ext install
. If I enter ext
it says PowerShell is at version 0.1.0.
from vscode-powershell.
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.
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.
@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.
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.
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.
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:
from vscode-powershell.
Thanks!
from vscode-powershell.
Recognice lounch
jasson
from vscode-powershell.
Related Issues (20)
- Command Explorer should be hidden by default
- Ctrl-space results in writing a character HOT 17
- Ctrl-space results in A characters HOT 2
- The use of "-" in snippet prefixes should be prohibited. HOT 9
- PssaCmdletAnalysisEngine fails with "Errors found while formatting file" and no additional data HOT 3
- Some variables are not highlighted (`$Error`, `$PSVersionTable`) HOT 1
- Incorrect indentation when passing a hashtable as a function argument HOT 3
- Extension do not work HOT 2
- Recalling a previous command via PSReadLine in VScode is unusable is the prompt contains U+231B in the CaskaydiaCove NF font HOT 3
- PowersShell Installation version issue
- Azure Repos Virtual Filesystem: Intellisense stops working on branches other than "main". Only returns "no suggestions". Works fine on "main" branch. HOT 6
- VS Code with PowerShell extension fails to assig a value to a variable HOT 1
- Debug string [DBG] not displayed in the terminal HOT 19
- Powershell Extension never starts. Terminal Message: "Starting server, deregistering host logger and registering shutdown listener" HOT 11
- Launching VSCode Also Opens cmd.exe Console Behind VSCode HOT 3
- Intellisense not working for properties of the same type as the class HOT 2
- v2024.2.0 No longer loads my Pwsh profile in the integrated terminal. How can I fix this? HOT 6
- v2024.2.0: PowerShell Terminal Fails to Load Due to PSES change to non-Windows-trusted Certificate HOT 36
- If Connecting to MSGraph then connecting to ExchangeOnline, error OperationStopped: Could not load file or assembly 'Microsoft.Identity.Client, Version=4.44.0.0. HOT 3
- whitespaceBetweenParameters Removing Redirectors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-powershell.