stabalized the index map, now the selection is lost on rerenders again :/
This commit is contained in:
parent
5a813627ea
commit
41a1ef0dbb
8 changed files with 91 additions and 86 deletions
46
.vscode/launch.json
vendored
46
.vscode/launch.json
vendored
|
@ -6,7 +6,7 @@
|
|||
"request": "launch",
|
||||
"name": "Start dev",
|
||||
// The path to a JavaScript or TypeScript file to run.
|
||||
"program": "${file}",
|
||||
"program": "entry-server.tsx",
|
||||
// The arguments to pass to the program, if any.
|
||||
"args": [],
|
||||
// The working directory of the program.
|
||||
|
@ -15,40 +15,9 @@
|
|||
"env": {},
|
||||
// If the environment variables should not be inherited from the parent process.
|
||||
"strictEnv": false,
|
||||
// If the program should be run in watch mode.
|
||||
// This is equivalent to passing `--watch` to the `bun` executable.
|
||||
// You can also set this to "hot" to enable hot reloading using `--hot`.
|
||||
"watchMode": false,
|
||||
// If the debugger should stop on the first line of the program.
|
||||
"stopOnEntry": false,
|
||||
// If the debugger should be disabled. (for example, breakpoints will not be hit)
|
||||
"noDebug": false,
|
||||
// The path to the `bun` executable, defaults to your `PATH` environment variable.
|
||||
"runtime": "bun",
|
||||
// The arguments to pass to the `bun` executable, if any.
|
||||
// Unlike `args`, these are passed to the executable itself, not the program.
|
||||
"runtimeArgs": [],
|
||||
},
|
||||
{
|
||||
"type": "bun",
|
||||
"request": "launch",
|
||||
"name": "Run tests",
|
||||
// The path to a JavaScript or TypeScript file to run.
|
||||
"program": "${file}",
|
||||
// The arguments to pass to the program, if any.
|
||||
"args": [],
|
||||
// The working directory of the program.
|
||||
"cwd": "${workspaceFolder}",
|
||||
// The environment variables to pass to the program.
|
||||
"env": {},
|
||||
// If the environment variables should not be inherited from the parent process.
|
||||
"strictEnv": false,
|
||||
// If the program should be run in watch mode.
|
||||
// This is equivalent to passing `--watch` to the `bun` executable.
|
||||
// You can also set this to "hot" to enable hot reloading using `--hot`.
|
||||
"watchMode": false,
|
||||
// If the debugger should stop on the first line of the program.
|
||||
"stopOnEntry": false,
|
||||
"stopOnEntry": true,
|
||||
// If the debugger should be disabled. (for example, breakpoints will not be hit)
|
||||
"noDebug": false,
|
||||
// The path to the `bun` executable, defaults to your `PATH` environment variable.
|
||||
|
@ -56,17 +25,18 @@
|
|||
// The arguments to pass to the `bun` executable, if any.
|
||||
// Unlike `args`, these are passed to the executable itself, not the program.
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"test"
|
||||
"--bun",
|
||||
"--inspect",
|
||||
"dev"
|
||||
],
|
||||
},
|
||||
{
|
||||
"type": "bun",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"request": "attach",
|
||||
"name": "Attach to Bun",
|
||||
// The URL of the WebSocket inspector to attach to.
|
||||
// This value can be retreived by using `bun --inspect`.
|
||||
"name": "Attach Bun",
|
||||
"url": "ws://localhost:6499/",
|
||||
"stopOnEntry": true
|
||||
}
|
||||
]
|
||||
}
|
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
|
@ -1,10 +1,6 @@
|
|||
{
|
||||
// The path to the `bun` executable.
|
||||
"bun.runtime": "/path/to/bun",
|
||||
"bun.debugTerminal": {
|
||||
// If support for Bun should be added to the default "JavaScript Debug Terminal".
|
||||
"enabled": true,
|
||||
// If the debugger should stop on the first line of the program.
|
||||
"stopOnEntry": false,
|
||||
}
|
||||
"bun.debugTerminal.enabled": true,
|
||||
"bun.debugTerminal.stopOnEntry": true
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue