new
new copied to clipboard
IDE support: vscode
so the Au CLI, would ask you about IDE support. Would be cool if this were added back and added recommended extensions (e.g.), the ignore #22 and more importantly a launch.json, I still have not gotten debugging working with the webpack/typescript setup.
P.S. any chance you know why/can help with that?
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"webRoot": "${workspaceFolder}/src"
},
{
"name": "Chrome Debugger",
"type": "chrome",
"request": "launch",
"url": "http://localhost:9000",
"webRoot": "${workspaceRoot}/src",
"userDataDir": "${workspaceRoot}/.chrome",
"sourceMapPathOverrides": {
"../src/*": "${webRoot}/*"
}
}
]
}
Not right now, we want to keep this repo as small as possible before Aurelia 2 Beta (no timeline). Because of possible breaking change, we don't want to bring so many features in before Aurelia 2 settles.
Same goes to #22.
any chance you can help with that launch.json anyways? :P it's currently my bane... :'(
Sent a PR in.
If the chrome debugger only works with webpack, make it conditional.
.vscode/launch.json__if_webpack
Remember you have to maintain it :-)
I doubt it only works with webpack... I'd have to try it though to see if it's different with gulp, however... I just finally got it working! VICTORY!
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Chrome Debugger",
"type": "chrome",
"request": "launch",
"url": "http://localhost:9000",
"webRoot": "${workspaceRoot}",
"userDataDir": "${workspaceRoot}/.chrome"
}
]
}
as far as a PR on this, I'll think about it, I think I need to use vscode for like, another couple of months before I commit, I've primarily been an intellij user for the last few years, and not doing frontend dev at all.
No worry, not urgent.
aurelia-cli got launch.json for both setup. I just need time to adjust that to work with dumber bundler gulp setup. Maybe we will add that before you do, as few other au2 core members use vscode too.