visual-studio-code

How to debug “built” production NodeJS

不问归期 提交于 2021-01-01 09:25:02
问题 I am using Visual Studio code to debug a node application in production environment The Node process runs inside docker, I port-forwarded and signaled USR1 to enable attaching debugger from VS code to that node process My VS Code configuration is like this { "version": "0.2.0", "configurations": [ { "type": "node", "request": "attach", "name": "Debug: service", "sourceMaps": true, "smartStep": true, "remoteRoot": "/src/", "localRoot": "/home/my-username/work/orders/src/", "protocol":

How to see Git's working log (not commit history, But Git's process)

主宰稳场 提交于 2021-01-01 08:23:08
问题 I am trying to do Git work in vscode's ssh remote control to another windows machine. Other stuff jobs are not problems. (like editing, compiling...) But When I tried to push/pull/fetch, git didn't respond anything. It seems like being pending by something. So I want to see specific steps to turn out what is a problem. Note: Log, show... commands are working correctly. When I am working in the machine directly, this problem doesn't occur. 回答1: You can set environment variables as defined in

How to see Git's working log (not commit history, But Git's process)

老子叫甜甜 提交于 2021-01-01 08:22:32
问题 I am trying to do Git work in vscode's ssh remote control to another windows machine. Other stuff jobs are not problems. (like editing, compiling...) But When I tried to push/pull/fetch, git didn't respond anything. It seems like being pending by something. So I want to see specific steps to turn out what is a problem. Note: Log, show... commands are working correctly. When I am working in the machine directly, this problem doesn't occur. 回答1: You can set environment variables as defined in

How to see Git's working log (not commit history, But Git's process)

泪湿孤枕 提交于 2021-01-01 08:22:26
问题 I am trying to do Git work in vscode's ssh remote control to another windows machine. Other stuff jobs are not problems. (like editing, compiling...) But When I tried to push/pull/fetch, git didn't respond anything. It seems like being pending by something. So I want to see specific steps to turn out what is a problem. Note: Log, show... commands are working correctly. When I am working in the machine directly, this problem doesn't occur. 回答1: You can set environment variables as defined in

How can I use git bash aliases in vscode terminal?

余生长醉 提交于 2021-01-01 07:03:32
问题 I have several git bash aliases that work fine when I use the git bash terminal, but they dont when I use the vscode integrated terminal? Is there a way to fix this? I do have bash selected in vscode. After running git config -l --show-origin --show-scope system file:C:/Program Files/Git/etc/gitconfig http.sslbackend=openssl system file:C:/Program Files/Git/etc/gitconfig http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt system file:C:/Program Files/Git/etc/gitconfig

How can I use git bash aliases in vscode terminal?

只谈情不闲聊 提交于 2021-01-01 07:02:32
问题 I have several git bash aliases that work fine when I use the git bash terminal, but they dont when I use the vscode integrated terminal? Is there a way to fix this? I do have bash selected in vscode. After running git config -l --show-origin --show-scope system file:C:/Program Files/Git/etc/gitconfig http.sslbackend=openssl system file:C:/Program Files/Git/etc/gitconfig http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt system file:C:/Program Files/Git/etc/gitconfig

VS Code pylint(import-error) “Unable to import” subsub-module from custom directory

老子叫甜甜 提交于 2021-01-01 03:58:20
问题 I have organized my self-written Python scripts within a tree of several sub-directories, starting from the parent directory "Scripts" which is already included in "python.autoComplete.extraPaths" within the settings-json: "python.autoComplete.extraPaths": ["/home/andylu/Dokumente/Allgemeines_material/Sonstiges/Programming/Python/Scripts", "/home/andylu/anaconda3/lib/python3.7/site-packages"] Apart from that, I've included a Python environment-file: "python.envFile": "/home/andylu/Dokumente

How to localise VSCode extension

谁说我不能喝 提交于 2021-01-01 03:44:18
问题 I wrote a VS Code extension to support printing. Since all the recent issues have been concerned with issues relating to foreign character sets, it seems like I should support languages other than English. But I can't find anything in on localisation in the VS Code API documentation. There's a section on languages but that's about parsing and syntax colouring etc for computer languages. Is there any support or at least convention regarding localisation of VS Code extensions? Thanks to Gama11

How to localise VSCode extension

喜欢而已 提交于 2021-01-01 03:42:25
问题 I wrote a VS Code extension to support printing. Since all the recent issues have been concerned with issues relating to foreign character sets, it seems like I should support languages other than English. But I can't find anything in on localisation in the VS Code API documentation. There's a section on languages but that's about parsing and syntax colouring etc for computer languages. Is there any support or at least convention regarding localisation of VS Code extensions? Thanks to Gama11

How to localise VSCode extension

隐身守侯 提交于 2021-01-01 03:38:41
问题 I wrote a VS Code extension to support printing. Since all the recent issues have been concerned with issues relating to foreign character sets, it seems like I should support languages other than English. But I can't find anything in on localisation in the VS Code API documentation. There's a section on languages but that's about parsing and syntax colouring etc for computer languages. Is there any support or at least convention regarding localisation of VS Code extensions? Thanks to Gama11