forked from dotnet/fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
97 lines (97 loc) · 3.52 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
// For further information about `coreclr` debugging, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"inputs": [
{
"id": "fscArgsPrompt",
"description": "Enter arguments for fsc",
"default": "",
"type": "promptString"
},
{
"id": "fsiArgsPrompt",
"description": "Enter arguments for fsi (optional)",
"default": "",
"type": "promptString",
}
],
"configurations": [
{
"name": "Launch FSI (Debug)",
"type": "coreclr",
"request": "launch",
// TODO: Shall we assume that it's already been built, or build it every time we debug?
"preLaunchTask": "${defaultBuildTask}",
// If you have changed target frameworks, make sure to update the program p
"program": "${workspaceFolder}/artifacts/bin/fsi/Debug/net9.0/fsi.dll",
"args": [
"${input:fsiArgsPrompt}"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal", // This is the default to be able to run in Codespaces.
"internalConsoleOptions": "neverOpen",
"suppressJITOptimizations": true,
"stopAtEntry": false,
"justMyCode": true,
"enableStepFiltering": true,
"requireExactSource": false,
"symbolOptions": {
"searchMicrosoftSymbolServer": true,
"searchNuGetOrgSymbolServer": true
},
"sourceLinkOptions": {
"*": {
"enabled": true
}
},
"allowFastEvaluate": true
},
{
"name": "Launch FSC (Debug)",
"type": "coreclr",
"request": "launch",
// TODO: Shall we assume that it's already been built, or build it every time we debug?
"preLaunchTask": "${defaultBuildTask}",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/fsc/Debug/net9.0/fsc.dll",
"args": [
"--targetprofile:netstandard",
"--simpleresolution",
"${input:fscArgsPrompt}"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal", // This is the default to be able to run in Codespaces.
"internalConsoleOptions": "neverOpen",
"suppressJITOptimizations": true,
"stopAtEntry": false,
"justMyCode": true,
"enableStepFiltering": true,
"requireExactSource": false,
"symbolOptions": {
"searchMicrosoftSymbolServer": true,
"searchNuGetOrgSymbolServer": true
},
"sourceLinkOptions": {
"*": {
"enabled": true
}
},
"allowFastEvaluate": true
},
{
"name": "Attach to a .NET process with debugger",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}",
"sourceLinkOptions": {
"*": {
"enabled": true
}
},
"justMyCode": true,
"enableStepFiltering": false,
"requireExactSource": false,
"allowFastEvaluate": true
}
]
}